今天重装MySQL时配置到最后一步,弹出这个错
Error Nr. 1045
Access denied for user 'root@localhost'(using password:NO)
然后我点skip后取消了配置
打开MySQL Command Line Client提示我输入密码,我直接enter,结果黑框就消失了
求高手解决,谢。。
Error Nr. 1045
Access denied for user 'root@localhost'(using password:NO)
然后我点skip后取消了配置
打开MySQL Command Line Client提示我输入密码,我直接enter,结果黑框就消失了
求高手解决,谢。。
如何重置root密码可以参考下贴三楼
http://topic.csdn.net/u/20090515/21/2b3c9a12-d8a5-4bb1-9895-6069cef5aef8.html
2. 进入命令行,来到mysql的安装目录.假设安装目录为 d:\mysql\ , CMD进入命令行
3. 运行 d:\mysql\bin\mysqld-nt --skip-grant-tables 启动mysql,关闭权限的检查
4. 运行 d:\mysql\bin\mysqladmin -u root flush-privileges password "newpassword" 重设root密码
5. 重新启动mysql服务------
你是说这个吧,第三步运行 d:\mysql\bin\mysqld-nt --skip-grant-tables
提示:‘mysqld-nt' is not recognized as an internal or external command,operable program or batch file.
打开MySQL Command Line Client提示我输入密码,我输入新设的密码,结果黑框还是就消失了
我在cmd运行mysql提示这个:ERROR 2003(HY000):can't connect to MySQL server on 'localhost' (10061)