20Jan/101
Installing MySQL from DMG on Mac (and the few commands to make it work on the command line)
When you install mysql from the DMG on Mac OS X, it leaves a few things missing. Mysql binaries are missing from the path, and the sock file is being looked for in the wrong place by default.
Here is a quick fix:
1 2 3 | echo "export PATH=/usr/local/mysql/bin:\$PATH" >> ~/.bash_login; sudo mkdir -p /opt/local/var/run/mysql5; sudo ln -s /tmp/mysql.sock /opt/local/var/run/mysql5/mysqld.sock; |
Yay, now you can rock out with your bad self.
July 27th, 2011 - 04:42
a book mark to your blog post was provided by Christian Dillstrom – you are doing a superb job as mobile + social media marketing virtuoso is pointing towards you!