linux下启动出现Can't connect to local MySQL server through socket的问题
问题: linux下mysql启动问题! Can't connect to local MySQL server through socket
解决方案:(我的解决方案成功了!其它情况就参照一下吧!嘿嘿。。。)
Ruby代码
<span style="font-size: x-large;">首先:cp /usr/share/doc/MySQL-server-5.5.24/my-medium.cnf /etc/my.cnf www.2cto.com
其次:touch /var/lib/mysql/mysql.scok
第三:/etc/rc.d/init.d/mysql status //查看mysql服务是否启动
第四:service mysql start//如果mysql服务没有启动,便启动mysql服务
第五:service mysqld start</span>
作者 wyzxzws
【上篇】mysql的could not be resolved: Temporary failure in name reso
【下篇】远程连接mysql数据库报“Communications link failure…”错误
【下篇】远程连接mysql数据库报“Communications link failure…”错误