MySQL 6.0 installed on FreeBSD

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>