Mysql 8.0 新特性和问题

 

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

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

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

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

 

posted @ 2020-03-13 19:51  zzljh  阅读(189)  评论(0编辑  收藏  举报