MySQL server PID file could not be found! 


无法启动mysql服务

# service mysqld start

MySQL server PID file could not be found!                  [FAILED]
Starting MySQL...The server quit without updating PID file [FAILED]ydata/centossz008.pid).


通过ss -tnl发现服务仍然存在

服务假死,强行将服务停用

# killall mysqld

重启

mysql报错问题解决MySQL server PID file could not be found!


ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'

查看mysql数据目录权限是否正常

# chown -R mysql.mysql /data

mysql报错问题解决MySQL server PID file could not be found!


相关文章:

  • 2022-02-20
  • 2021-08-08
  • 2021-09-09
  • 2022-12-23
  • 2021-08-17
  • 2021-10-19
  • 2021-06-06
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2021-05-21
相关资源
相似解决方案