Welcome Guest | Login

Can't do migrate

When i do a migrate, the server returns an error message:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

I learned that there have been some settings changes to the server recently and it was recommended to add a line the the database.yml like this:

 socket: /var/lib/mysqlsock/mysql.sock

I've done that but still no go. Anyone knows anything else i may have missed?

2008-03-25 08:43 AM

I couldn't see any error while migrating the database. Are you still having the issue? Also we didn't make any changes on the server that would've affected this.

2008-03-25 09:45 AM

The person who posted the thread just after mine experienced the same problem. You suggested adding socket: /tmp/mysql.sock in the database.yml. We both did that and solved it.

This problem only occured recently as my previous migrations have been smooth, the last hitchless one was probably in prev month. Someone mentioned some changes to the mysql settings in yr servers when I googled the error message in yr forum.

Thanks.

2008-03-26 08:09 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.