网上搜索到的解决办法: 1、找到mysql安装目录下的bin目录路径。 2、打开cmd,进入到bin目录的路径下,输入mysql -u root -p。 参见网址:http://www.2cto.com/database/201209/153858.html