2023-05-12 开启多语言插件支持……

LARAVEL HOMESTEAD SQLSTATE[HY000] [1862] Your password has expired. To log in you must change it using a client that supports expired passwords

mysql 苏 demo 3419℃

错误信息提示:

LARAVEL HOMESTEAD SQLSTATE[HY000] [1862] 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,密码是空)

mysql -uroot -p

然后更改密码:

SET PASSWORD = PASSWORD(”);

然后重新访问数据库即可。

打赏

转载请注明:苏demo的别样人生 » LARAVEL HOMESTEAD SQLSTATE[HY000] [1862] Your password has expired. To log in you must change it using a client that supports expired passwords

   如果本篇文章对您有帮助,欢迎向博主进行赞助,赞助时请写上您的用户名。
支付宝直接捐助帐号oracle_lee@qq.com 感谢支持!
喜欢 (0)or分享 (0)