简体   繁体   English

如何解决这个错误! 找不到MySQL服务器PID文件?

[英]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.

相关问题 在 OSX Sierra 中找不到错误 MySQL 服务器 PID 文件 - ERROR MySQL server PID file could not be found in OSX Sierra Mac OS Sierra“错误! 找不到MySQL服务器PID文件!” - Mac OS Sierra “ERROR! MySQL server PID file could not be found!” 错误! 找不到 MySQL 管理器或服务器 PID 文件! 威联通 - ERROR! MySQL manager or server PID file could not be found! QNAP MySQL不会关闭:“停止服务器:错误! 找不到MySQL服务器PID文件!” - MySQL won't shutdown: “Stop server: ERROR! MySQL server PID file could not be found!” “错误! 找不到MySQL服务器PID文件!”,但是3d端口上正在运行mysqld进程吗? - “ERROR! MySQL server PID file could not be found!”, yet a mysqld process is running on port 3306? 找不到MySql服务器PID - MySql server PID not found MySQL 服务器启动错误“服务器退出而不更新 PID 文件” - MySQL server startup error 'The server quit without updating PID file' 错误! 服务器退出而不更新 PID 文件 - Mysql 服务器未启动 - ERROR! The server quit without updating PID file - Mysql server not starting 启动时出现Mysql server 8错误:“服务器退出但未更新PID文件” - Mysql server 8 error at startup: “The server quit without updating PID file” MySQL启动错误'ERROR! 服务器退出而不更新PID文件' - MySql startup error ' ERROR! The server quit without updating PID file'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM