IT Admin

How To Install mySQL in OS X

by frenchsquared on Mar.07, 2009, under Random Shit

Start by downloading mySQL from here:

Once the file has downloaded you should have a disk image mounted on your desktop. Simply double click on the disk image to open the installer. Everything is very straight forward at this point. Just keep saying ok until the installer is finished. You need to install both mysql and the mySQL start up.

Installer

Installer

Once you have finished installing both packages you need to open terminal. Then use the command:

sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

To stop mySQL use the command:

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop

Add a root password with the command:

/usr/local/mysql/bin/mysqladmin -u root password <password>
That is all there is to it. Now have mysql installed on you MAC.
  • Share/Bookmark
:, , ,
No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...