[英]how to solve this ERROR! MySQL server PID file could not be found?
I want to install Mysql on my MAC machine. 我想在我的MAC机器上安装Mysql。 When I do
当我做
sudo /usr/local/mysql/support-files/mysql.server start
It is showing error some thing like 它显示错误,例如
"ERROR! The server quit without updating PID file (/usr/local/mysql/data/Concurs-MacBook-Pro-8.local.pid)".
“错误!服务器退出而不更新PID文件(/usr/local/mysql/data/Concurs-MacBook-Pro-8.local.pid)”。
I tried all the methods which people posted in other posts but I did not get any thing out of it. 我尝试了人们在其他帖子中发布的所有方法,但没有任何帮助。 Could any one please help me with steps to install new mysql and to remove old one?
可以请任何人帮我安装新的mysql并删除旧的mysql吗?
I'm not sure about MAC, but the pid file stores the process id and is used as a lock so that you don't end up with loads of MySql's running. 我不确定MAC,但是pid文件存储了进程ID,并用作锁,这样您就不会因MySql的运行负载而终止。
I'd have to guess that the user id or group under which MySql runs can't write the pid into the data folder. 我不得不猜测,运行MySql的用户ID或组不能将pid写入数据文件夹。 If it were Linux, I'd be making sure that the data folder and data files had group ownership changed to MYSQL (or whatever it's supposed to be on the MAC).
如果是Linux,我将确保数据文件夹和数据文件的组所有权已更改为MYSQL(或MAC上应具有的名称)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.