0
我一直在Google平台上使用MySQL(“Cloud SQL”)多年。第一代。仅SSL连接。我已经有了几个月的所有证书,并且运行良好。我的证书没有过期。在过去的一天半里,我一直无法连接到数据库!尝试重新启动数据库。由于周五开始的拒绝服务攻击,谷歌是否改变了他们的环境?在Google Appengine上接收SQLNonTransientConnectionException
Exception in thread "main" java.sql.SQLNonTransientConnectionException: SSL Connection required, but not supported by server.
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:550)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:537)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:527)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:512)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:480)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:498)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:494)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:72)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at ... my code
发生了什么事?
最终我最终帮助自己。我确实使用了开发控制台中的“重置SSL配置”选项。也许这篇文章会在需要的时候帮助别人。我知道不是每个人都有白金支持。 – Robert