欢迎投稿

今日深度:

Can't connect to local MySQL server through socket &

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


这个实在linux下安装mysql的情况,出现了Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

这个错误,然后service mysql start 一直启动不了。

那么可以用一下的方法

#ps -A|grep mysql 
   显示类似:
  3016 ?        00:00:00 mysqld_safe
   3090 ?        00:00:31 mysqld
  2.#kill -9 3016
  3.#kill -9 3090
  4.#/etc/init.d/mysql restart
  5.#mysql -u root -p


欧克了。

www.htsjk.Com true http://www.htsjk.com/shujukunews/5857.html NewsArticle Cant connect to local MySQL server through socket /tmp/mysql.sock (2),connectmysql.sock 这个实在linux下安装mysql的情况,出现了Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 这个错误,然后serv...
相关文章
    暂无相关文章
评论暂时关闭