Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
来源:互联网 发布:ios资深程序员招聘 编辑:程序博客网 时间:2024/06/05 20:22
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
使用mysql经常会遇到这个错误提示,最近因为服务器磁盘空间满了,又一次出现这个问题,造成mysql无法启动!
以前处理过多次,但是这次一下子蒙住了,百度了一番,也没用靠谱的答案。
mysqld_safe mysqld from pid file pid ended
还有这个错误提示。
其实解决办法很简单
执行完这个
chmod 777 /tmp然后启动mysql就可以了~
0 0
- ERROR 2002: Can't connect to local MySQL server through socket '/tmp/tmp/mysql.sock' (2)
- ERROR 2002: Can't connect to local MySQL server through socket '/tmp/tmp/mysql.sock' (2)
- Django +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)
- 记录mysql错误:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- 关于Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的问题
- 关于Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的问题
- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- can't connect to local mysql server through socket '/tmp/mysql.sock'(2) in /var/...
- 关于Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的问题
- 关于Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的问题
- 关于Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的问题
- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 解决方法
- 问题:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- XAMPP Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- HTML5 css水平居中垂直居中
- 数据结构基础——并查集
- 在Linux中让echo命令显示带颜色的字。
- Jenkins系列之—13 详解Jenkins节点配置
- StringBuilder、StringBuffer和String三者的联系和区别
- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- * 输出由1元,2元,5元纸币组成100元钱的所有方案 1,1,...,1=100 2,2,...,2=100
- 001-storm简介
- XCode 项目配置说明
- DLL初学者指南
- Jenkins系列之—14 修改Jenkins权限控制
- 2014届华为校园招聘机试题
- iOS9联系人保存详解
- Centos安装g++错误 :No package g++ available