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.
Related Reading
Python + Regular Expressions
Have you ever needed to parse through large amounts of text looking for a specific pattern? Patterns like “one capital letter followed by three numbers” or “dd/mm/yyyy”? This is known as Pattern Matching. Regular Expressions allow easy syntax for pattern matching, and is an invaluable skill to add t...
GitHub + Strategy
GitHub is currently down. And that is very sad. However, they have an Awesome Angry Unicorn.And this unicorn makes me smile, even though I can't get to any of my projects.
If you're going to make a web application, give it some personality. This will not only keep your userbase entertained, but wil...
Django Remote Development Server
If you've worked with Django much at all, I'm sure you've had this problem: wanting to access the built-in development webserver remotely. Typically, this integrated mini-server ignores all requests from any IP Address other than 127.0.0.1 . If you run the following command, however, it will be acce...