LoginSignup
0
0

More than 5 years have passed since last update.

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 解決方法

Last updated at Posted at 2016-06-24

http://easyramble.com/warnings-for-changing-mysql-socket.html
http://d.hatena.ne.jp/TamaC/20090330/1238418696

vim /etc/my.cnf
でsocketをsocket=/tmp/mysql.sockにしたら治ったけど、mysqlに繋げれなくなった。

再起動
sudo /etc/init.d/mysqld restart

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0