
- MYSQL MAC OS X 10.6 DOWNLOAD HOW TO
- MYSQL MAC OS X 10.6 DOWNLOAD INSTALL
- MYSQL MAC OS X 10.6 DOWNLOAD ARCHIVE
- MYSQL MAC OS X 10.6 DOWNLOAD PASSWORD
When you want to add additional sites in the future you will need to add more aliases to this file. Add the following lines to the end of the file: 127.0.0.1 d6 This enables you to edit your hosts file that has local aliases for IP addresses. Start by creating a short name for your local sites: /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts & Keep this terminal window open for rest of the installation.
MYSQL MAC OS X 10.6 DOWNLOAD PASSWORD
Nevermind – you know what you’re doing – right? Just type in your password when prompted. If you’re running sudo for the first time, you will get a warning message. If your Mac account is not an administrator account you can not do this. You need root permission in order to modify these files. To get the new profile active close the terminal window and open a new one. Let’s start by settings some environment variables: echo "export PATH=\$PATH:/usr/local/mysql/bin" > ~/.profile It’s easiest to do this by starting terminal application from your Applications / Utilities. In order to run Drupal you need to configure your Apache, PHP and a few small things in OS X. Just hit continue on all screens and type in your password when being asked.Īfter the installation, go to OS X System Preferences pane, start MySQL server and check the checkbox to automatically start on startup.
MYSQL MAC OS X 10.6 DOWNLOAD INSTALL
You will also want to install the prefPane in order to start and stop the database from OS X System Preferences panel and MySQLStartupitem in order to keep MySQL running after reboot. Mount the DMG disk image by double-clicking it and follow the instructions to install MySQL. Exact MySQL version number is not that important, the most recent one is ok.
MYSQL MAC OS X 10.6 DOWNLOAD ARCHIVE
The community edition for x86, 64-bit as DMG archive is the version you will want to get. You only need to install MySQL & Drupal and do a bit of configuration. Developing on PHP 5.3 & latest MySQL version.OS X 10.6 (will also work for other versions, but you might have to modify some parts).This post and some upcoming posts will describe what I consider to be an ideal development environment. Many people prefer using MAMP, Macports or other methods, but OS X has almost everything you need already built in – and it’s not THAT complicated to set the environment up. Unfortunately, setting up a clean environment that supports everything Drupal developers need, and does not get in the way of everything, is a bit hairy process.
MYSQL MAC OS X 10.6 DOWNLOAD HOW TO
What I haven’t yet found is a comprehensive guide on how to set up a clean and productive environment. There are also plenty of blog posts, articles and HOWTOs on setting up PHP development environment on Mac. So that's as far as I got.I’ve seen a lot of different local development setups on the computers of our own developers and students in our Drupal training. I don't know if there's anything left over from having MAMP installed that is messing things up or not. In the Apache section, I try to go to localhost and I get a 403 forbidden and message 'You don't have permission to access / on this server.' Mysqladmin -u root password ' it prompts me for my password, then finishes without complaint. (Note that we set EDITOR whilst we are here so that svn is happy!) Add /usr/local/mysql/bin to the path: vim ~/.bash_profile and add:Įxport PATH=~/bin:/usr/local/bin:/usr/local/mysql/bin:$PATHĪt top of file.Download the 64bit DMG version of MySQL 5.1.x (or 5.5.x) for OS X 10.6 from and install the pkg, the startup item and the pref pane.

usr/localĮnsure that the following directories exist:


This means that the entire effort required to get a working PHP dev environment for my work is now much easier.

With OS X 10.6, Apple ships PHP 5.3 with PEAR, GD and PDO_MYSQL out of the box.
