标签:mysql
在Centos系统输入mysql回车出现以下错误的解决方法:
MYSQL错误:ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘ (2)
解决方法一:
如果是以yum方法安装:
直接service mysqld start启动后
再输入mysql命令可进入mysql数据库
本文出自 “小五台车神” 博客,请务必保留此出处http://linuxtech.blog.51cto.com/3670088/1731186
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
标签:mysql
原文地址:http://linuxtech.blog.51cto.com/3670088/1731186