Tag: MacPorts/mysql5.5
sudo port install mysql55-server
sudo emacs -nw /opt/local/etc/mysql55/my.cnf
# Use default MacPorts settings !include /opt/local/etc/mysql55/macports-default.cnf [client] default-character-set=utf8 [mysqldump] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] character-set-server=utf8
sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
/opt/local/lib/mysql55/bin/mysqladmin -u root password 'new-password'
sudo -u _mysql mysql_install_db5
sudo port load mysql5-server