![]() |
1
2
在mysql 8.0中,caching_sha2_password是默认的身份验证插件,而不是mysql_native_password。有关此更改对服务器操作的影响以及服务器与客户端和连接器的兼容性的信息,请参阅将“缓存”sha2“密码作为首选身份验证插件- https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password 您在Docker Images中使用的是MySQL8,它有不同的身份验证实现。 请参阅以下链接中的缓存密码更改
所以暂时试着把mysql版本降到5.7。 另一方面,请浏览链接,以便对mysql-8使用正确的步骤。请查看JDBC连接器的以下链接。 https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password-compatible-connectors |
![]() |
Hits · where子句中包含大小写+并集+like的未知列 7 年前 |
![]() |
elec · 如何进行基于构造函数或setter的依赖注入? 7 年前 |
![]() |
greperror · HSQL和MySQL的区别 8 年前 |
![]() |
FreezY · @自动连线会话范围bean未指向同一实例 9 年前 |