mysql8.0用户密码设置注意事项

在MySQL 8.0.11中,caching_sha2_password是默认的身份验证插件,而不是以往的mysql_native_password。

如果客户端连接报授权验证出错,可使用以下命令调整。

> alter user 'root'@'localhost' identified with mysql_native_password by '密码';
> flush privileges;

 

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2021-07-04
  • 2021-07-07
  • 2021-05-18
  • 2022-12-23
猜你喜欢
  • 2021-04-02
  • 2021-07-04
  • 2022-12-23
  • 2021-09-13
  • 2021-06-16
  • 2021-06-01
  • 2021-12-25
相关资源
相似解决方案