Back

edit the /usr/local/bin/mysql_install_db file.

replace the 'hostname' with your FQDN (ie, rocksalt.mui.net). You may also want to replace the "localhost" references with your IP address (ie, 207.12.13.235).

cd to the /var/db/mysql directory. Make sure it has a /var/db/data/mysql directory that contains db.frm, host.frm, and user.frm. If it doesn't have those files, you can grab it from here.

Run the mysql_install_db script from the /var/db/mysql directory.

Note: the startup script for mysql is
/usr/local/etc/rc.d/mysql-server.sh
/usr/local/etc/rc.d/mysql-client.sh

ee /etc/services
mysql 3306/tcp #MySQL
mysql 3306/udp #MySQL

Back