
In the end, you only install MySQL then simply turn everything on.įirst, open Terminal and switch to root to avoid permission issues while running these commands. Furthermore, Apache and PHP are included by default. So all of these technologies install easily on Mac OS X.
#Mac install mysql mac os x#
It is important to remember Mac OS X runs atop UNIX. Personally, the choice to do it myself has proven invaluable. But they forego the learning experience and, as most developers report, eventually break. These packages help get you started quickly. I am aware of the several packages available, notably MAMP.
#Mac install mysql how to#
This post serves as much for my own record as to outline how to install Apache, MySQL, and PHP for a local development environment on Mac OS X Mountain Lion Mavericks. Each version of Mac OS X having some minor difference. I needed to write instructions for a class that I teach because asking students who own a Mac to install VMWare and Windows before MySQL seems an unnecessary burden. I have installed Apache, PHP, and MySQL on Mac OS X since Leopard. Installing MySQL 5.5.9 (updated for MySQL 5.5.16 and 5.5.18) on Mac OS X was on my list but it finally made the top. Once the copying is complete, open the MySQL Workbench. (Refer here for information about downloading MySQL Workbench) The following window will open once the file is open. We can check this by running brew info mysql. Click on Finish to complete the installation process. MacOS Update: While these instructions still work, there are new posts for recent versions of macOS, the latest being Install Apache, PHP, and MySQL on macOS Mojave. At the time of this writing, the default version of MySQL in Homebrew is 8.0.
