b a d p o p c o r n

Installing Mysql with MacPorts for Rails on Leopard

Written by Moe on September 19, 2008 |

I just spent a hour going through this so you won’t have to. I thought I installed mysql using mac ports but I kept getting this error.

Errno::ENOENT (No such file or directory - /tmp/mysql.sock):

Below are the three steps you need to get Mysql running on Leopard for MacPorts.

sudo port install mysql5 +server
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
sudo ln -s /opt/local/var/run/mysql5/mysqld.sock /tmp/mysql.sock

Posted in Rails


1 Comment »

  1. Hello, this is probably the wrong place to post this but on your jobs listing page, your “contact us” form 404s when you try to submit anything. I was just trying to ask where you guys were located.

    Thanks

    Comment by Chris — September 30, 2008 @ 9:26 pm

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .