The other day I came across some neat instructions on how to set up FreeBSD with MySQL 6.0. It’s pretty straight forward:
-
Download MySQL 6.0 here
-
Extract the files to /usr/local/mysql
-
Add MySQL group "groupadd mysql"
-
Add MySQL user "useradd -g mysql mysql"
-
Change the permissions with "chown mysql -R /usr/local/mysql"
from /usr/local/mysql run "scripts/mysql_install_db --user=mysql"
-
Change the permissions again "chown -R root ." and "chown -R mysql data"
-
Now run the server "bin/mysqld_safe --user=mysql &"
Source: FreeBSD World