新安装的MySQL启动报错The server quit without updating PID file
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了新安装的MySQL启动报错The server quit without updating PID file相关的知识,希望对你有一定的参考价值。
安装的mysql启动报错The server quit without updating PID file
[[email protected] mysql]# service mysqld restart MySQL server PID file could not be found! [失败] Starting MySQL.The server quit without updating PID file (/[失败]ysql/l
ocalhost.localdomain.pid).
排错思路:
检查my.cnf文件是否存在
2. 检查data路径是否存在my.cnf文件中
datadir=/usr/local/mysql/data
我的问题没有找到datadir导致的,添加再次启动OK
[[email protected] app]# service mysqld restart MySQL server PID file could not be found! [失败] Starting MySQL. [确定]
但是具体报错信息可以查看localhost.localdomain.err报错日志
本文出自 “愿与您分享” 博客,请务必保留此出处http://pengjc.blog.51cto.com/9255463/1860945
以上是关于新安装的MySQL启动报错The server quit without updating PID file的主要内容,如果未能解决你的问题,请参考以下文章
启动mysql报错:ERROR! The server quit without updating
eclipse:项目启动MySQL报错:The last packet successfully received from the server was x milliseconds ago
MySQL 启动日志报错:Starting MySQL. ERROR! The server quit without updating PID file
启动mysql报错 -- ERROR! The server quit without updating PID file
mysql启动报错:Starting MySQL... ERROR! The server quit without updating PID file