Wednesday, October 3, 2007

Mysql on FreeBSD

Don't panic ...

# cd /usr/port/mysql51-server
# make install clean


# /usr/local/bin/mysql_install_db
# chown -R mysql:mysql mysql
# /usr/local/bin/mysqld_safe -u root &
# /usr/local/bin/mysql

Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 239 to server version: 5.1.6-alpha
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

... done

No comments: