Starting MySQL. ERROR! The server quit without updating PID file (/software/install/mysql/data/hadoop01.pid).
时间: 2023-08-28 17:18:17 浏览: 99
mysql启动时报错:Starting MySQL… ERROR! The server quit without updating PID file
根据引用内容和,可以看出,启动MySQL服务的命令是"service mysql start",关闭MySQL服务的命令是"service mysql stop",重启MySQL服务的命令是"service mysql restart"。所以,如果出现"Starting MySQL. ERROR! The server quit without updating PID file"的错误提示,可能是由于MySQL的PID文件没有正确更新导致的。
根据引用内容,可能是由于"/software/install/mysql/data/hadoop01.pid"文件没有写权限所致。解决方法是使用"chown -R mysql:mysql /var/data"命令为该文件添加权限,并使用"chmod -R 755 /usr/local/mysql/data"命令重新启动mysqld服务。
请尝试执行上述解决方法后重新启动MySQL服务,看是否可以解决该错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Centos6+mysql-5.7.29](https://blog.csdn.net/weixin_39407452/article/details/106234257)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [mysql启动报错The server quit without updating PID file几种解决办法](https://blog.csdn.net/m0_67391401/article/details/126062225)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文