Blog by an Apple Certified Tech

Install MySQL Database on a Macintosh

 

MySQL is a popular, free database server with dozens of books to teach you the ropes. In the past you had to install MySQL with the Macintosh Unix command line interface but more recent versions can be up and running in minutes.

  • Download the MySQL package installation. MySQL is in varying stages of development, including alpha and beta releases, so make sure you download the most stable version for your Mac. Make sure to select the download for your platform (Intel or PowerPC) and version of OS X.
  • Double click on the DMG file. A disk image will mount on your desktop. If you download a TAR compressed file (which contains files and folders), you downloaded the wrong installer.
  • Run both the MySQL installer and the MtSQLStartupitem PKG files. You may have to enter your administrative password. Select your internal drive as the destination disk.
  • Drag the file MySQL.prefPane to your user library folder. It should be placed in the subfolder "Preference Panes." Open your System Preferences to confirm it's there.
  • Restart your computer. MySQL won't run until your system reboots.
  • Open the MySQL preferences by double clicking on the MySQL icon. If the server isn't running, you will see a message saying the server instance is stopped. Click "Start MySQL Server" to launch the server.
  • Connect to the server from your database management utility. This could be a web site, a web development program with database management capabilities or a freeware utility.

0 Comments: