OSX: Install mysql on Mac
Wednesday, September 8th, 20101) Download and install the .dmg image
2) Fix the permission
sudo chgrp -R mysql /usr/local/mysql
You might need to do the following:
sudo chown -Rf :mysql /usr/local/mysql-5.1.50-osx10.6-x86_64/
This will set the _mysql group owner for all the subfolders of mysql
3) Start the MYSQL
sudo /usr/local/mysql/bin/mysqld_safe --user=mysql &
4) Create the supersecure root password
/usr/local/mysql/bin/mysqladmin -u root password supersecurepassword
5) symlink mysql
sudo ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql
6) login via mysql
msyql -u root -p
7) Download and install Sequel Pro (the SQLyog for Mac)