赞
踩
方案1.mysql容器启动时 添加配置 --mysql-native-password=ON
方案2. my.cnf中 mysqld下添加一行 mysql-native-password=ON
8.4.0中 default-authentication-plugin=mysql_native_password 已经不生效了
参考 MySQL 8.4.0 with Docker-Compose