Friday, October 22, 2010

MySQL 5.5.6 on Mac OS X Snow Leopard 10.6 PreferencePane

PreferencePane for MySQL 5.5.6. seems to have broken "again" in mysql-5.5.6-rc-osx10.6-x86_6.

If you try to start MySQL server using the preference pane it fails. I tried to start it using '/usr/local/mysql/bin/mysqld start' and it still failed.

Here is the fix for the preference pane start and stop.
Edit '/usr/local/mysql/support-files/mysql.server'
Find line 'basedir=.' and replace it with 'basedir=/usr/local/mysql'
Here is the screenshot after the change:
After this, I was able to successfully execute the following commands:
sudo /usr/local/mysql/support-files/mysql.server start|stop 
SystemPreferences > PreferencePane > MySQL Start|Stop Server
This fix came from: http://bugs.mysql.com/bug.php?id=53232

No comments: