PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 数据库 > MySQL教程 > 正文

    解决 error Nr.1045 卡在Mysql Server Instance Configuration Wizard

    作者:admin来源:网络浏览:时间:2020-09-30 00:07:50我要评论
    导读:在安装mysql的时候出现卡在Mysql Server Instance Configuration Wizard画面 一直没动后来卸载程序 ,重新安装后出现了 error Nr.1...
    在安装mysql的时候出现卡在Mysql Server Instance Configuration Wizard画面 一直没动

    后来卸载程序 ,重新安装后出现了 error Nr.1045错误

    错误如下

    The security settings could not be applied to the database bacause the connection has failed
    with the following error.
    Error Nr.1045
    Access denied for user 'root'@localhost'(using password:No)

    解决 error Nr.1045 卡在Mysql Server Instance Configuration Wizard

    解决方法:

    1.卸载Mysql,删除C:\Program Files\MySQL目录.

    2.删除在C:\Documents and Settings\All Users\Application Data里面的MySQL文件夹 这个文件没有清除是MySQL重装出现旧密码的根源所在。于是删除MySQL文件夹

    或者 C:\Documents and Settings\All Users\目录下

    解决 error Nr.1045 卡在Mysql Server Instance Configuration Wizard

    3.检查C:\WINDOWS目录下是否有my.ini文件,将其删除

    4.注册表里的HEKY_LOCAL_MACHINE,SOFTWARE,MYSQL删除
           HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL 目录删除
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL 目录删除
           HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL 目录删除

    原来是安装过mysql没有删除完全的原因,然后重新安装后成功!!

    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-35-4812-1.html
    相关热词搜索: