Installing MySQL on Mac OS X

The following information provides detailed instructions on installing a mulit-software package that incorporates the following necessary requirements; Apache, MySQL, PHP, phpMyAdmin, and more.

Taken directly from: http://www.keitr.com

1. Go to http://sourceforge.net/project/showfiles.php?group_id=61776. Choose “XAMPP Mac OS X”.

2. Choose to download xampp-macosx-0.7.1.dmg.

3.  Double-click the Disk Image file you just downloaded.

4. In the window that opens, double-click XAMPP for MacOS X.pkg.

5. Once installation completes, go to your Applications folder, and go inside the xampp folder inside.

6. Double-click on XAMPP Control Panel. This tool lets you start and stop the various servers installed as part of XAMPP.

7. Start Apache and MySQL by clicking on the “Start” buttons next to each item. Note that you will need to repeat these steps if you reboot your computer and wish to use Apache and/or MySQL.

8. Go to http://localhost/. If you are directed to a page with the XAMPP logo, your installation was successful.

You can add or change the files in /Applications/xampp/htdocs to change what you see at http://localhost/ on any local web browser.

Here are the locations of some configuration and log files you may want to view or change:

Type    Location
Apache configuration    /Applications/xampp/etc/httpd.conf,
/Applications/xampp/etc/*.conf
Apache logs    /Applications/xampp/xamppfiles/logs/access_log,
/Applications/xampp/xamppfiles/logs/error_log
PHP configuration    /Applications/xampp/etc/php.ini
MySQL configuration    /Applications/xampp/etc/my.cnf

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: