How to setup a MySQL server on FreeBSD

We’re always searching the ‘net for good howtos to share with the FreeBSD community. We found DruidSys.com’s MySQL server installation howto for FreeBSD 7.0 to be a good resource:

In this guide we will work with FreeBSD 7.0 and it is assumed that FreeBSD is already running on your machine.

First you need to login as root or run su in order to get the required permissions.

Then navigate to the ports folder for MySQL:

cd /usr/ports/databases/mysql50-server

Now run:

make install clean

in order to download and install MySQL.

Once the install is finished we install the databases by running:

mysql_install_db –user=mysql

Source: http://www.druidsys.com/?q=node/8

Did you enjoy this article? Share it!
    December 9, 2008 • Tags: , , • Posted in: Howto

    Leave a Reply

    You must be logged in to post a comment.