Can't connect to local MySQL server through socket '/tmp/mysql-generic-5.5.40.sock' (2) Mysql链接出错

发布于 2020-04-06 23:39:04

今天服务器重启,发现系统的mysql无法启动,报错

[Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql-generic-5.5.40.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。

查看更多

浏览量
2776
猫哥
猫哥 项目组成员 2020-04-06
希望我的回答能对你有所帮助

解决排查
1) df -h 看磁盘是否有空间、
2) ls -l /home/usrdata/mysql*目录是否有权限、
3) find / -name my.cnf 查找是否有重复配置,
与检查my.cnf配置是否正确。

1 个回答

学习
记录

发布
问题

分享
好友

手机
浏览

扫码手机浏览