1862-your password has expired. To log in you must change it using a client that supports expired pa

Posted jmdd

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了1862-your password has expired. To log in you must change it using a client that supports expired pa相关的知识,希望对你有一定的参考价值。

  今天连接mysql报出如下错误:

技术图片

 

 

原因:

  密码过期无法登陆

解决办法:

  mysql -h localhost -u root -p (连接mysql服务器)

  SET PASSWORD FOR ‘root‘@‘localhost‘ = PASSWORD(‘newpass‘);(重新修改root密码)

  ALTER USER ‘root‘@‘localhost‘ PASSWORD EXPIRE NEVER;(不验证有效期)

  之后删除Navicat里的连接新建连接即可。

以上是关于1862-your password has expired. To log in you must change it using a client that supports expired pa的主要内容,如果未能解决你的问题,请参考以下文章

Rails 4 'has_secure_password' 验证空白密码并且无法执行条件验证

ORA-28001: the password has expired

Oracle密码过期the password has expired

ruby 用户模型w / has_secure_password,可以更新

Python使用googletrans包进行翻译-AttributeError: ‘NoneType‘ object has no attribute ‘group‘&httpcore._ex

oracle报错ora-28001,the password has expired