技术栈

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run

Mysql / MariaDB,Database

命令行连接mysql mysql -uroot报错ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run

找到mysql目录,删除ib_logfile0、ib_logfile1等文件

restart服务器再次连接解决

点我评论
打赏本文
二维码


82

文章

22

标签