Home >Database >Mysql Tutorial >解决Starting MySQL...The server quit without updating PID fi_MySQL

解决Starting MySQL...The server quit without updating PID fi_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:36:401231browse

bitsCN.com


解决Starting MySQL...The server quit without updating PID file的问题

 

控制台异常:    

Starting MySQL....The server quit without updating PID file (/data2/mysql/SMT-TDB01.pid).[失败]

 

解决Starting MySQL...The server quit without updating PID fi_MySQL

 

重点是红色部分,意思就是对'/data2/tmp/目录可能没有创建和写入的权限

 

解决方法    

 

1,检查此目录是否存在,不存在则创建

 

2,对此文件添加 mysql访问的权限:chown -R mysql:mysql /data2/tmp

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn