MySQL出现 Can't connect to mysql server on &_MySQL

WBOY
Release: 2016-06-01 13:12:02
Original
988 people have browsed it

当你从DOS进入MySQL时,如果出现如下错误:


则很有可能是你的MySQL还没有启动,你可以试一下以下的方法:

(任意路径下)直接敲入命令:net start mysql


这个时候可以看到MySQL已经启动。

这时敲入命令:mysql -uroot -p

要求输入密码是输入正确的密码即可;若无密码,直接敲入:mysql -uroot 即可。


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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!