输入banner图图片脚本导航/分类

mac上 mysql 突然无法启动的问题

创建: 2018/02/12

 

其实错误信息很多,网上搜的解决方案试一下又报出其他错误。所以就贴几个错误,排序部分先后。

错误1:

ERROR! The server quit without updating PID file

错误2:

Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘

错误3:

ERROR! MySQL server PID file could not be found!

 

 

解决方案:

找了半天才找到的

cd /usr/local/var/mysql 
sudo rm *.err && sudo rm *.pid 
sudo reboot
sudo mysql.server start

 

mac上 mysql 突然无法启动的问题

标签:gpo   网上   boot   through   usr   pos   error   pre   ror