Saturday, June 16, 2007

`No such file or directory – /tmp/mysql.sock`

run `locate mysql.sock` or `locate mysqld.sock` to find where your socket is located, then update database.yml to reflect your system’s configuration. So your entry will be:

socket: /path/to/mysql.sock

1 comment: