The MySQL installation process for Mac OS X is fairly straightforwardthe developers from MySQL AB have created an installation package for Mac OS X. Go to the MySQL downloads page at http://www.mysql.com/downloads/mysql-4.0.html and look for the section titled "Mac OS X downloads." Once there, select the appropriate version for your system, either
No matter the Mac OS X version you use, download the "Standard" package for the current MySQL version. When the download is complete, unpack the installer file and double-click on the *.pkg file. Follow the installation steps below to complete the process.
The MySQL installer will launch automatically, as shown in Figure 2.1. Click Continue to move to the next step.
Figure 2.1. The MySQL Installer has started.
The second screen in the installation process contains information regarding installation (see Figure 2.2). Read the information and note anything relevant to your situation, and then click Continue.
Figure 2.2. Step 2 of the MySQL installation wizard. Note any relevant information before continuing.
The third screen in the installation process displays the license information. Read this information and press the Continue button, and you will be prompted to agree or disagree, as shown in Figure 2.3.
Figure 2.3. Step 3 of the MySQL installation wizard. Read the license information, and then agree to its content.
The fourth screen asks you to select the installation destination (see Figure 2.4). Select the appropriate drive, and then press the Continue button.
Figure 2.4. Step 4 of the MySQL installation wizard. Select an installation location.
The next screen verifies your installation location selection and requires you to press the Install button to continue. At this point, you will be prompted for the Adminstrator username and password unless you are installing as root before the installation process continues. Once it continues, let the process run its course until you see the installation is complete, as shown in Figure 2.5.
Figure 2.5. MySQL has been installed.
You're now ready to start the MySQL server, so skip down to the section called "Basic Security Guidelines." If you had any issues with your installation, check the "Troubleshooting Your Installation" section.