连接mysql报错Can't connect to local MySQL server through socket 'tmpmysql.sock' (2)

连接mysql报错Can't connect to local MySQL server through socket 'tmpmysql.sock' (2),第1张

概述网上找不到 朋友说是因为非正常关机导致,mysql.server start 运行报错 ERROR! The server quit without updating PID file();

网上找不到  朋友说是因为非正常关机导致,MysqL.server start 运行报错 ERROR! The server quit without updating PID file();

解决办法 :进入 cd /usr/local/var/MysqL

  删除 :rm -rf ib_logfile0

运行:sudo MysqL.server restart

 

OK!!

总结

以上是内存溢出为你收集整理的连接mysql 报错 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)全部内容,希望文章能够帮你解决连接mysql 报错 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/1151519.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-31
下一篇 2022-05-31

发表评论

登录后才能评论

评论列表(0条)

保存