MySQL on Mac OS X with preference panel

MySQL on Mac OS X with preference panel
Page content

In my daily work I really suffered because MySQL wasn’t work after fresh installation. Preference panel just didn’t start MySQL on system startup neither using it into Preferences.
After a lot of google research I found many solutions but only Angry Fly gives me some clues how to find proper fix.

Solution

Is quite simple 🙂 You need to go to the:
cd /usr/local/mysql/support-file
then
using nano edit this beautiful file:
sudo nano mysql.server
find the line with
basedir and modify to basedir=/usr/local/mysql
Then save it, and… MySQL preference panel is working!