Ubuntu无法进入mysql,报ERROR 2002 (HY000): Can't connect to local MySQL server through socket …错误
来源:互联网 发布:潭州学院java vip视频 编辑:程序博客网 时间:2024/05/04 11:32
在Ubuntu下进入mysql 时,报ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 错误。检查发现是因为mysql没有启动。
输入 sudo service mysql start 后,又出现Couldn't find MySQL server (/usr/bin/mysqld_safe)错误,经过多方查阅,最后将mysql文件下的my.conf文件删掉,问题得到解决。
rm /etc/mysql/my.cnf
0 0
- Ubuntu无法进入mysql,报ERROR 2002 (HY000): Can't connect to local MySQL server through socket …错误
- MySQL错误ERROR 2002 (HY000): Can't connect to local MySQL server through socket
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql
- Mysql error 2002 (HY000) : Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- mysql error 2002 (HY000) : Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/mysql/mysql.sock' (2)
- Mysql连接错误:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (
- 【转】运行mysql报错ERROR 2002 (HY000): Can\'t connect to local MySQL server through socket[已解决]
- Mac brew 安装mysql 报错 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- 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' (111)
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- 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)
- 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 ‘/var mysql连不上
- 5. jQuery 效果 - 隐藏和显示
- windows7下安装ubuntu及相关问题的解决方案
- CodeForces 447C###C. DZY Loves Sequences
- Linux netlink机制及示例
- 说说耦合(coupling)
- Ubuntu无法进入mysql,报ERROR 2002 (HY000): Can't connect to local MySQL server through socket …错误
- intel驱动包下载
- java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- Mapped Statements collection does not contain value for xxxxxxx
- mysql挿入数据中文乱码问题
- hdu5296(倍增lca)
- poj 3009 DFS +回溯
- eclipse less编译时错误处理
- 链式队列