關於CentOS輸入mysql提示ERROR 2002 (HY000):Can't connect to local MySQL的問題
關於CentOS輸入mysql提示:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
www.2cto.com
原因可能是mysql服務沒有啟動,輸入命令:
# service mysqld start
顯示: Starting mysqld: [ OK ] 證明啟動成功了!
現在可以訪問mysql了: