Centos运行Mysql报告:MySQL server PID file could not be found!

安装完成后几个报错之一,解决办法如下:

1. 输入ps -ef | grep mysqld查看进程

用kill -9 2405 杀掉已存在进程

Centos运行Mysql报告:MySQL server PID file could not be found!

输入service mysqld start重启服务

Centos运行Mysql报告:MySQL server PID file could not be found!

2.mysql权限问题

安装文件增加权限及修改用户/用户组

Centos运行Mysql报告:MySQL server PID file could not be found!

3.关闭SELinux

关闭SELinux,配置SELINUX=disabled

Centos运行Mysql报告:MySQL server PID file could not be found!

重启设备后SELinux永久关闭

Centos运行Mysql报告:MySQL server PID file could not be found!

Centos运行Mysql报告:MySQL server PID file could not be found!

上一篇:win10 端口占用


下一篇:WPF 颜色