@H_404_1@如果将MySQL JDBC驱动程序从5.1.38更改为6.0.2,则会出现以下异常
@H_404_1@
java.sql.sqlNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
@H_404_1@这种异常发生在正常的JDBC启动中.
@H_404_1@可能这可能与SSL有关,因为我也得到以下消息
@H_404_1@
@H_404_1@Establishing SSL connection without server’s identity verification is@H_404_1@在以前的版本中没有.
not recommended. According to MysqL 5.5.45+,5.6.26+ and 5.7.6+
requirements SSL connection must be established by default if explicit
option isn’t set. For compliance with existing applications not using
SSL the verifyServerCertificate property is set to ‘false’. You need
either to explicitly disable SSL by setting useSSL=false,or set
useSSL=true and provide truststore for server certificate
verification.
最佳答案
这听起来像是回归.是否有特殊原因要切换到6.0.2?如果没有,我会回到5.1.38并在三个月之后给6.x一次让MysqL的人来稳定驱动程序.
原文链接:https://www.f2er.com/mysql/433521.html