Install MySQL on OS X

1. Download the standard Mac OS X package at

2. Double-click on the .pkg file to install it.

3. Open Applications/Utilities/

4. Type: cd /usr/local/mysql

5. Type: sudo chown -R mysql data/

6. To start the server, type sudo echo first, then type sudo ./bin/mysqld_safe &

7. Test it with /usr/local/mysql/bin/mysql test

Important: You should run this command in order to secure the open master account in the default installation:

/usr/local/mysql/bin/mysqladmin -u root password new_password_here

Leave a Reply

Your email address will not be published. Required fields are marked *