August 26, 2019
MySQL链接错误 No such file or directory, MySQL connection not working,What is mysql.sock file on linux, Cannot find mysql.sock
首先我们需要知道 mysql.sock 在哪里? 通过下面的命令可以查询位置:
mysql> show variables like 'socket';
+-----------------------------------------+-------------------------------+
| Variable_name | Value