Home > Database > Mysql Tutorial > linux下mysql启动出现Can't connect to local MySQL server thr_MySQL

linux下mysql启动出现Can't connect to local MySQL server thr_MySQL

WBOY
Release: 2016-06-01 13:42:02
Original
1072 people have browsed it

bitsCN.com linux下mysql启动出现Can't connect to local MySQL server through socket的问题 问题: linux下mysql启动问题! Can't connect to local MySQL server through socket 解决方案:(我的解决方案成功了!其它情况就参照一下吧!嘿嘿。。。)
 Ruby代码  首先: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     作者 wyzxzws bitsCN.com

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template