Wednesday, October 26, 2011

freebsd mysql installation

Simple installation of mysql-server on freebsd:

# sudo su
# cd /usr/ports/databases
# make install clean
# mysql_install_db
# cd /var/db
# chown -R mysql:mysql mysql
# mysqld_safe &
# mysqladmin -u root password "YOUR_PASSWORD"
# echo "mysql_enable='YES'" >> /etc/rc.conf
# /usr/local/etc/rc.d/mysqld start



No comments:

Post a Comment