# install server and the launch script # needed to start it. (I like the -v option # to see what is happening.) # $ sudo port -v install mysql5 +server # initialize the setup as mysql user. # $ sudo -u mysql mysql_install_db5 # start mysql and set your root password. # $ sudo -u mysql /opt/local/lib/mysql5/bin/mysqld_safe & $ sudo /opt/local/lib/mysql5/bin/mysqladmin -u root password '[new_passwd]'
This was helpful to me. Thanks for posting it.
ReplyDeleteThanks for this incantation. It worked like a charm.
ReplyDeleteThank you very much! I still have one question though, how can I set MySQL5 to run when I turn on my Mac?
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteMijndert, there you go (see karwas posting)!
ReplyDeleteKarwas, thanks for the tip!