Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Problem with socket (or something like that)
Hi everone!
I have a problem with setting up the db.
I get the following error message:
“We couldn't connect to the server you provided (localhost). The database responded with the following message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)â€
Yes, the db exist and the user name is ok. I tested it via ssh.
This is only the second time that I have to use MySQL on my server and so I looked up my setting in a Rails app I programmed. It says:
socket: /var/lib/mysql/mysql.sock
But I can't remember why I knew that the socket is there ...
So, how can I change the socket? Or is there another solution?
0
This discussion has been closed.