开发者

MySQL server is running but getting "Can't Connect"

bundle exec rake db:migrate
(in /开发者_JAVA百科home/ahmet/x)

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

(See full trace by running task with --trace)

Is this a file permission error?


If there is not currently a section called [client], try to add this lines at the end

[client]
socket=/var/lib/mysql/mysql.sock
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜