MacLochlainns Weblog

Michael McLaughlin's Technical Blog

Site Admin

Mountain Lion Pre-MySQL

with 10 comments

While I try to contain everything about installing MySQL in a single post that I update from time-to-time, Mac OS X, Mountain Lion (10.8.x), requires some pre-steps. You must install XCode, and the Command Line Tools. This post provides the screen shots and step-by-step instructions.

Before you can do any of these steps, you must connect to the Apple Store and download XCode. Dependent on your internet speed this may take some time. Generally, it’s an hour or less.

  1. After installing XCode, click the Rocket Spaceship in the Mac Dock to launch a view of your Applications. Launch XCode by clicking on the hammer overlaying the blue background XCode icon shown below.

  1. After launching XCode, click the Install button on the lower right of the System Component Installation screen shown below.

  1. You’re prompted for your default user (actually a sudoer authorized user) password. Enter it in the dialog and click the OK button to continue.

  1. After entering the valid credentials and a couple minutes, you should see the System Component Installation screen shown below. Click the Start Using XCode button to continue.

  1. Inside XCode, click on the XCode menu option and select the Preferences menu option, as shown below.

  1. You should be on the General tab of XCode’s Preferences dialog. Click on the Downloads tab.

  1. You should see three choices (at the time of writing) in the Downloads tab. As shown, select the Command Line Tools item. It should take only a couple minutes to download. Click the Install button to continue.

  1. The Install button disappears and is replaced by an Installed label when the Command Line Tools are installed. You should see the following screen shot.

After completing these steps, return to the other post to install and configure MySQL. While it seems this exists already as content on Apple’s site, it seems some folks wanted me to add it with the step-by-step screen shots.

Written by maclochlainn

December 10th, 2012 at 8:55 pm

Posted in Mac,Mac OS X,MAMP,MySQL,Xcode

Tagged with , ,

10 Responses to 'Mountain Lion Pre-MySQL'

Subscribe to comments with RSS or TrackBack to 'Mountain Lion Pre-MySQL'.

  1. […] You can refer to this XCode installation and configuration post […]

  2. Hi maclochlainn;

    Recently just installed Oracle SQL Developer 3.2 and tried installing Oracle Database XE 11g Realease 2 on Windows 7 Home Premium.
    I kept getting that the key value could not be read so i had to go into the registry and add the key value that was showing on the error message. I was able to get past that error message and finish the installation. But now whenever I try opening Oracle Database 11G Express Edition by clicking the ‘Get Started’ icon in my oracle xe folder, a new error message appears that read ‘Windows cannot find ‘http:\\ How do i resolve this problem. I just want to open my oracle database already. Please help.


    11 Dec 12 at 3:06 pm

  3. Also, when modifying the key how did you know what product key to open to open the source folder?


    11 Dec 12 at 4:28 pm

  4. This means that APEX wasn’t configured. You should manually re-install APEX.


    11 Dec 12 at 6:50 pm

  5. Longterm exposure to Oracle installs, and it was shown in the error message.


    11 Dec 12 at 6:52 pm

  6. Oracle APEX is a separate application that i need to install right? I never installed it. And what version should i install?


    12 Dec 12 at 7:45 am

  7. Also, why doesn’t it let me change the key value when im in the process of installing oracle xe edition when the first error message appears?


    12 Dec 12 at 7:46 am

  8. Oracle APEX 4.0, try this post. Why did you ask these questions on the MySQL Install on the Mac OS X?


    17 Dec 12 at 1:26 pm

  9. Not sure why this would happen if you’re the administrator or a user with administrator responsibilities. If you don’t have those privileges, it would disallow the change. Please reply on the related Oracle XE Install post.


    17 Dec 12 at 1:31 pm

  10. Thank you for providing this detailed guideline. It works like a charm!



    23 Feb 13 at 6:46 am

Leave a Reply