首页 > 数据库技术 > 详细

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

时间:2014-08-11 20:29:02      阅读:332      评论:0      收藏:0      [点我收藏+]

[root@test]# /usr/local/mysql/bin/mysql -uroot
ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ (2)
[root@test]# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

再次链接就好了。

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2),布布扣,bubuko.com

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

原文:http://www.cnblogs.com/lehao/p/3905261.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!