Skip to content

Commit

Permalink
Issue #898152 by greg.1.anderson | jaymiejones86: Mac Mamp MySQL: add…
Browse files Browse the repository at this point in the history
… documentation to help people who are having trouble with their mysql socket on Macs.
  • Loading branch information
weitzman committed Dec 31, 2011
1 parent 8c3726b commit 5eb2f2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ If you want to use php 5.3.x, add this line instead
If you have MAMP v.1.84 or lower, this configuration will work for both version of php:

export PATH="/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php5/bin:$PATH"

If you have done this and are still getting a "no such file or directory" error from
PDO::__construct, try this:

sudo mkdir /var/mysql
sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock

Additionally, you may need to adjust your php.ini settings before you can use
drush successfully. See CONFIGURING PHP.INI below for more details on how to proceed.
Expand Down

0 comments on commit 5eb2f2f

Please sign in to comment.