首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux上mysql启动有关问题! Can't connect to local MySQL server through socket

2012-09-16 
linux下mysql启动问题! Cant connect to local MySQL server through socket问题: linux下mysql启动问题!

linux下mysql启动问题! Can't connect to local MySQL server through socket

问题: linux下mysql启动问题! Can't connect to local MySQL server through socket

解决方案:(我的解决方案成功了!其它情况就参照一下吧!嘿嘿。。。)

首先:cp /usr/share/doc/MySQL-server-5.5.24/my-medium.cnf /etc/my.cnf其次:touch /var/lib/mysql/mysql.scok第三:/etc/rc.d/init.d/mysql status //查看mysql服务是否启动第四:service mysql start//如果mysql服务没有启动,便启动mysql服务第五:service mysqld start
?

热点排行