Files
kennethreitz.org/data/essays/2009-01-osx_mamp_python_php_mysql.md
T
Kenneth Reitz f04e27a09b test
2025-08-23 23:58:56 -04:00

455 B

OSX + MAMP + Python + PHP + MySQL

If you're a web developer who uses MAMP in conjunction with anything other than PHP,
I'm sure you've had quite a large bit of frustration involving multiple MyQL instances.

Not any more! This simple chain of commands will save you days upon days of troubles:

sudo rm /tmp/mysql.sock sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock

I only wish I had found this sooner.

Enjoy.