Friday, August 23, 2013

Starting MySQL on Mac OS X 10.8.4

I used to start MySQL 5.5 (MacPorts) on my Mac using the following command:
$ sudo /opt/local/share/mysql55/support-files/mysql.server start

Yesterday, I found out that this was not working anymore. The error message I was getting was the following:

$ /opt/local/share/mysql55/support-files/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/local/var/db/mysql55/monastery.local.pid).

It turns out that the new way of starting MySQL is the following:
$ sudo port load mysql56-server

PS. During the process, I have also updated MySQL to version 5.6.

No comments: