linux 下 启动mysql服务出错!Starting MySQL.The server quit without updating PID file (XXX.pid)
2017-10-20 16:51
716 查看
今天linux上安装mysql时,安装成功,用service mysql start 启动服务时报错
Starting MySQL.The server quit without updating PID file (XXX.pid)
看了网上好多教程
1.关闭selinux --我的selinux本身是关闭状态
2.系统已经存在mysqld 进程,通过ps -ef|grep mysqld 查找也未发现有此进程
3.与centos 自带的mariadb 冲突,通过rpm -qa | grep mariadb 查找确实发现了有这个包,但是卸载的时候发现系统并没有安装这个数据库
无奈,准备查错误日志,发现根本就没有找到错误日志,进入 etc/my.cnf 一看
其中有一句 log-error=/var/log/mysql/mysql.log —!!!
去对应目录一看,我的天,/var/log 目录下根本没有mysql文件夹 ,创建之,再启动mysql服务,成功!!
相关文章推荐
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- mysql启动失败Starting MySQL.The server quit without updating PID file ([失败]ysqllnmp.pid)
- 重启了Linux ,然后 启动MySQL 出现 Starting MySQL….. ERROR! The server quit without updating PID file
- mysql启动错误:Starting MySQL.. ERROR! The server quit without updating PID file错误
- Starting MySQL.The server quit without updating PID file (datamysqllinux.pid).
- mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法
- Centos6 下 Mysql启动提示 Starting MySQL. ERROR! The server quit without updating PID file
- mysql启动报错:Starting MySQL... ERROR! The server quit without updating PID file
- mysql启动报错:Starting MySQL... ERROR! The server quit without updating PID file
- mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法
- mysql启动遇到启动失败Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/data/iZwz9bq
- mysql服务不能启动(The server quit without updating PID file) 解决方法
- 启动mysql服务失败The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid).[失败]
- 重启Mysql服务时报Starting MySQL.... ERROR! The server quit without updating PID file错误问题
- 关于linux上的mysql异常:Starting MySQL. ERROR! The server quit without updating PID file ……
- Centos7启动mysql5.6 提示ERROR! The server quit without updating PID file (/var/lib/mysql/XXX.pid).
- Mac 上mysql启动报错Starting MySQL... ERROR! The server quit without updating PID file
- macOS The server quit without updating PID file (/usr/local/var/mysql/XXX.local.pid)
- mysql 启动问题总结:the server quit without updating PID file(转)