MySQL 5.5 on Mac OS X Snow Leopard

Just had a whale of a time getting this installed, thought I'd share the solution.

I was getting errors like:

 /usr/local/mysql/support-files/mysql.server: line 256: my_print_defaults: command not found 

All you need to do is run this commands:

 echo "/usr/local/mysql/bin" > /etc/paths.d/mysql && echo "[mysqld]\nbasedir=/usr/local/mysql" >> /etc/my.cnf 

Hope that helps!

Comments (0)

Leave a comment...