The MySQL installation process for Mac OS X is fairly straightforwardthe developers from MySQL AB have created an installation package for Mac OSX. Go to the MySQL downloads page at http://dev.mysql.com/downloads/mysql/5.0.html and look for the section titled "Mac OS X downloads." Once there, download the appropriate standard version for your system; the version you choose will depend on your Mac OS X version (10.3 or 10.4) and architecture(PowerPC, PowerPC 64-bit, or x86).
When the download is complete, unpack the installer file and double-click the *.pkg file. Follow these installation steps to complete the process:
Also includedin the installation package is the MySQL Startup Item installer. If you want MySQL to start automatically at system startup, install this additional package. Installation of the MySQL Startup Item follows the standard installation method just describeddouble-click the *.pkg file, select a destination disk, and allow the installation process to run to completion. After the MySQL Startup Item is installed, use the following command in a terminal window to start MySQL:
# sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
You may be asked to enter your account password. Press Ctrl+D to exit the shell after starting MySQL. After you have started MySQL, you can skip down to the section called "Basic Security Guidelines." If you had any issues with your installation, check the "Troubleshooting Your Installation" section.