Home  >  Article  >  Database  >  mysql安装最后一步error nr.1045解决方法_MySQL

mysql安装最后一步error nr.1045解决方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:31:421114browse

bitsCN.com

mysql安装最后一步error nr.1045解决方法

 

    1.手动停止mysql服务。

 

    2.修改D:/MySQL/MySQL Server 5.0/  目录下的my.ini文件,在[mysqld]下添加

    skip-grant-tables

 

    3.启动mysql服务后就可以以空密码登录

 

    4.务必修改root密码

 

    5.把 skip-grant-tables  这一句删掉(在D:/MySQL/MySQL Server 5.0/  目录下的my.ini文件)

 

    6.重启mysql服务。

 

    7.成功登录.

bitsCN.com
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