Monday, December 20, 2010

rake aborted! Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

rake aborted!
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


give the socket path like this in your database.yml file
socket: /var/run/mysqld/mysqld.sock

No comments:

Post a Comment