标签:alt bash mysq ide user pass http sha flush
最近新下载的mysql8.0在我设置密码之后登陆的时候报错
进入容器中
docker exec -it mysql bash
进入mysql 命令行
ALTER USER ‘root‘@‘%‘ IDENTIFIED WITH mysql_native_password BY ‘root‘;
这flush privileges; 就可以解决
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
标签:alt bash mysq ide user pass http sha flush
原文地址:https://www.cnblogs.com/bj-xiaodao/p/10955733.html