mysql初始化密码常见报错问题

1,然后执行 mysql -uroot -p ,输入上面的到的密码进入,用该密码登录后,必须马上修改新的密码,不然会报如下错误:

mysql> use mysql;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.


2,如果你想要设置一个简单的测试密码的话,比如设置为123456,会提示这个错误,报错的意思就是你的密码不符合要求

mysql> alter user 'root'@'localhost' identified by '123456';
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements



https://blog.csdn.net/memory6364/article/details/82426052

相关文章:

  • 2021-08-01
  • 2021-08-01
  • 2021-11-03
  • 2021-09-30
  • 2021-08-01
  • 2021-08-01
  • 2021-11-03
  • 2021-08-01
猜你喜欢
  • 2021-09-30
  • 2018-06-01
  • 2021-11-12
  • 2021-08-01
  • 2021-10-24
  • 2021-08-01
  • 2021-06-22
  • 2021-08-01
相关资源
相似解决方案