Ruby on Rails 3 Can't connect to local MySQL server through socket '/tmp/mysql.sock' on linux
解决办法:
1
|
First, to find your socket file:
For me, this gives:
2 Then, add a line to your
|