财商书苑
全民财商训练提升,认真负责我们的每句话

‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

1.#ps -A|grep mysql

显示类似:

1829 ? 00:00:00 mysqld_safe
1876 ? 00:00:31 mysqld

2.#kill -9 1829

3.#kill -9 1876

4.#/etc/init.d/mysql restart

5.#mysql -u root -p

赞(0)
未经允许不得转载:财商书苑-全民财商训练提升 » ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址