Hi, I am on a OSX and have installed locomotive. I am competant enough
at the momnent to create projects, controllers, models etc through
terminal, however I am finding it hard to connect to a MySQL database.
In the database config file I have set the username and password
correctly but is still giving me an error. The error is somewhere along
the lines of this (I am not 100% sure as I am not at my Mac at the
Could not connect to mysql database on temp/socket (2)
Now, I think I might know why it isn’t working, but am not sure how to
fix it. I am using MySQL from a MAMP installation, and Ruby with
Locomotive (as previously stated). Ruby is running on port 3000, and
MySQL on 8889 (I think). Do I need to change anything in the database
connection info to allow for this, or should it be done automatically?