网站首页> 博客> MYSQL ERROR 1862 (HY000): Your password has expired.

MYSQL ERROR 1862 (HY000): Your password has expired.

好文 1887
格式化记忆
收藏

遇到错误:

ERROR 1862 (HY000): Your password has expired. To log in you must
change it using a client that supports expired passwords.


原因是:

MySQL 5.6 introduces password-expiration capability, to enable database administrators to expire account passwords and require users to reset their password. 


所以只需重新修改下密码即可,修改方式如下:

以root权限登录mysql:(这里我的账户是root,密码也是root)

mysql -uroot -proot

然后更改密码:

SET PASSWORD = PASSWORD('root');


  • 没有任何评论
个评论
格式化记忆

格式化记忆 (铂金)

95216金币 (274)粉丝 (31)源码

一切皆有可能!!!

 

加入微信群,不定期分享源码和经验
签到活跃榜 连续签到送额外金币
最新博客
校园跑腿系统外卖系统软件平台大学生创业平台搭建 468
壹脉销客智能名片CRM系统小程序可二开源码交付部署 454
为啥没搞了 654
Nginx 的 5 大应用场景,太实用了! 933
CentOS 8-stream 安装Postgresql 详细教程 1098
JAVA智慧校园管理系统小程序源码 电子班牌 Sass 模式 1057
Java智慧校园系统源码 智慧校园源码 智慧学校源码 智慧校园管理系统源码 小程序+电子班牌 804
Java智慧校园系统源码 智慧校园源码 智慧学校源码 智慧校园管理系统源码 小程序+电子班牌 786
致远OA权限 1276
发博客会有金币吗 821