mysql.sock

Getting this error:

Errno::ENOENT

in StateController#list

No such file or directory - /tmp/mysql.sock

On my server I found mysql.sock in /var/lib/mysql/mysql.sock
adding socket: /var/lib… etc didn’t help
My next attempt is to create a symbolic link however,
is the tmp directory the one in the Rails tmp directory ?

Stuart

The symbolic link worked , but now I’m getting an error

Access denied for user: ‘root@localhost’ (Using password: NO)
even though I’ve enabled production and added the username and password

?

Stuart