码迷,mamicode.com
首页 > 其他好文 > 详细

Your password has expired. To log in you must change it using a client that supports expired passwords

时间:2016-05-10 20:36:16      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:

msyql 5.7.11版本安装

mysql生成的root的临时密码是

2016-05-10T10:05:47.421912Z 1 [Note] A temporary password is generated for root@localhost: v:gNXSw5FTkw

使用

mysql -u root -p  v:gNXSw5FTkw 提示(中间重启的一次mysql,可能是重启的原因,正常情况下是可以登录的)

Your password has expired. To log in you must change it using a client that supports expired passwords

 

在stackoverflow找到了解决方法,连接地址:http://stackoverflow.com/questions/33387879/mysql-password-expired-cant-connect

解决办法:

[root@localhost bin]# ./mysqladmin -uroot -p password
Enter password:   //这里输入上面的v:gNXSw5FTkw
New password:    //重新输入新密码
Confirm new password: //重新输入新密码

问题解决!

 

Your password has expired. To log in you must change it using a client that supports expired passwords

标签:

原文地址:http://www.cnblogs.com/maxomnis/p/5479040.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!