Home >Database >Mysql Tutorial >Windows下,mysql-5.6.10-winx64的安装使用问题解决(ERROR1044,ERROR2003)_MySQL

Windows下,mysql-5.6.10-winx64的安装使用问题解决(ERROR1044,ERROR2003)_MySQL

WBOY
WBOYOriginal
2016-06-01 13:01:511249browse

问题描述:在官网下载了最新的 mysql-5.6.10-winx64 安装包,登录之后,发现无法进行数据库的创建,

显示错误信息为 ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'

重启系统后,发现无法登录mysql,

显示错误信息 ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

解决办法:

打开cmd, 路径定位到 mysql 的安装目录下,然后执行 mysqld -nt --skip-grant-tables 命令

如果显示一堆信息,表示正常, 保留此cmd窗口, 再打开cmd, 登录mysql 即可。

\

Statement:
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