Heim >Datenbank >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:401233Durchsuche

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
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn