美文网首页
错误代码1862-mysql

错误代码1862-mysql

作者: eth10 | 来源:发表于2017-01-12 09:40 被阅读0次

    1862 - Your password has expired. To log in you must change it using a ……

    问题描述

    mysql密码过期(不是不对),导致连接不上数据库!

    错误显示

    错误显示 错误显示

    windows 解决方法

    • 进入安装目录的bin目录下,执行 mysql -uroot -p 进入mysql shell
    进入mysql shell
    • 执行use mysql显示情况
    use mysql
    • 使用SET PASSWORD = PASSWORD('root');修改密码
    修改密码

    此时就可以正常连接数据库了!

    OK ok

    相关文章

      网友评论

          本文标题:错误代码1862-mysql

          本文链接:https://www.haomeiwen.com/subject/irddbttx.html