会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
bitbetter
博客园
首页
新随笔
联系
订阅
管理
2020年6月8日
mysql登陆报错(ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock
摘要: 出现这个问题是因为/var/lib/mysql中没有mysql.sock文件 1. ps -efl | grep mysqld 将查询到mysql进程杀死 2. 重启mysql :/etc/init.d/mysqld restart 或者service mysqld restart
阅读全文
posted @ 2020-06-08 18:52 bitbetter
阅读(1387)
评论(0)
推荐(0)
编辑
公告