phpstudy 启动mysql失败 The server quit without updating PID file.....
2018-02-03 17:38
666 查看
ubuntu上安装了phpstudy,又装了pure-ftpd ,于是乎添加了一个ftp用户,设置root文件夹的时候,直接设置了/phpstudy
结果phpstudy restart后,发现mysql启动不了了,提示说The server quit without updating PID file (/phpstudy/data/VM-0-16-ubuntu.pid)
于是进入错误日志看了下,提示Can’t find file: ‘./mysql/plugin.frm’ (errno: 13)
才发现原来是我新增的ftp用户把文件夹的权限改了,因为终端上只是一个普通用户,所以mysql就启动不了了
百度了一下,可以这样
试了后再phpstudy restart,发现还是不行,报一样的错误
才想起来是不是得整个文件夹都改下权限才对,于是
再次phpstudy restart后,mysql终于启动了
结果phpstudy restart后,发现mysql启动不了了,提示说The server quit without updating PID file (/phpstudy/data/VM-0-16-ubuntu.pid)
于是进入错误日志看了下,提示Can’t find file: ‘./mysql/plugin.frm’ (errno: 13)
才发现原来是我新增的ftp用户把文件夹的权限改了,因为终端上只是一个普通用户,所以mysql就启动不了了
百度了一下,可以这样
chown mysql.mysql *
试了后再phpstudy restart,发现还是不行,报一样的错误
才想起来是不是得整个文件夹都改下权限才对,于是
cd /phpstudy # 进入phpstudy安装目录
chown -R mysql.mysql * # 递归改权限
再次phpstudy restart后,mysql终于启动了
相关文章推荐
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- MySQL 5.5.23启动时报错 The server quit without updating PID file().[失败]
- Mysql启动失败:The server quit without updating PID file (/[FAILED]mysql/isaba8pgwa7o55xsdfxzcas0Z.pid)
- mysql 启动异常失败 Starting MySQL..The server quit without updating PID file
- mysql 启动失败:The server quit without updating PID file (×××.pid)
- mysql启动失败Starting MySQL.The server quit without updating PID file ([失败]ysqllnmp.pid)
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- 启动mysql服务失败The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid).[失败]
- mysql启动遇到启动失败Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/data/iZwz9bq
- MySQL启动失败,The server quit without updating PID file
- centos6.6下编译安装mysql5.6之后启动失败:Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
- Mysql启动失败 MYSQL:The server quit without updating PID file
- MySql启动提示:The server quit without updating PID file(…)失败
- 启动MySql提示:The server quit without updating PID file(…)失败
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- mysql5.5 启动报错:ERROR! The server quit without updating PID file
- MySql提示:The server quitwithout updating PID file(…)失败
- MySql提示:The server quit without updating PID file(…)失败
- Starting MySQL...The server quit without updating PID file [失败]lib/mysql/localhost.localdomain.pid).