You must reset your password using ALTER USER statement before executing this statement.
2017-01-17 14:30
435 查看
亲测有效。
set 重置一下密码;(但可能过几个月还是会过期。。。,不过可以解燃眉之急)
登录
我的用户为 root
登录后执行
set 重置一下密码;(但可能过几个月还是会过期。。。,不过可以解燃眉之急)
登录
我的用户为 root
mysql -u root -p
登录后执行
SET PASSWORD = PASSWORD('your new password');
相关文章推荐
- mysql 5.7安装后,出现You must reset your password using ALTER USER statement before executing this stateme
- 错误mac mysql error You must reset your password using ALTER USER statement before executing this stat
- You must reset your password using ALTER USER statement before executing this statement.
- mac mysql error You must reset your password using ALTER USER statement before executing this statem
- MySQL错误:You must reset your password using ALTER USER statement before executing this statement.
- Mysql报错:You must reset your password using ALTER USER statement before executing this statement.
- You must reset your password using ALTER USER statement before executing this statement.
- mac mysql error You must reset your password using ALTER USER statement before executing this statement.
- MySQL用户密码过期登陆报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
- You must reset your password using ALTER USER statement before executing this statement.
- 第一次登录mysql,使用任何命令都报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this ..
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this st
- mysql 设置不了短串密码怎么办 You must reset your password using ALTER USER statement before executing this statement.
- mac mysql error You must reset your password using ALTER USER statement before executing this statement.
- You must reset your password using ALTER USER statement before executing this statement.
- You must reset your password using ALTER USER statement before executing this statement.
- mysql error You must reset your password using ALTER USER statement before executing this statement.
- 【mysql】You must reset your password using ALTER USER statement before executing this statement.
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.