linux mysql 报错ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
2017-12-08 16:20
633 查看
1、报错信息
2、报错原因
这个报错的意思是执行某个mysql语句需要更改原始密码
3、解决方案
登录mysql
修改密码
4、报错
意思是你设置的密码复杂度不够,最好是数字+字母+特殊字符
ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
2、报错原因
这个报错的意思是执行某个mysql语句需要更改原始密码
3、解决方案
登录mysql
mysql -u root -p
修改密码
mysql> SET PASSWORD = PASSWORD('123456');
4、报错
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
意思是你设置的密码复杂度不够,最好是数字+字母+特殊字符
相关文章推荐
- Mysql 密码报错ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- mysql密码丢失 ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- mysql:ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- 解决mysql,出现错误 ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- mysql安装过程中出现错误ERROR 1820 (HY000): You must SET PASSWORD before executing this statement解决
- mysql安装过程中出现错误 ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ubuntu14.10下解决"ERROR 1820 (HY000): You must SET PASSWORD before executing this statement"
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- MySQL用户密码过期登陆报错ERROR 1820 (HY000): 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.
- MySql5.7 ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- ERROR 1820 (HY000): You must SET PASSWORD before executing this statement