Java连接Mysql数据库警告:Establishing SSL connection witho
2018-01-04 22:52
495 查看
当出现这种错误:
Thu Jan 04 22:49:59 CST 2018 WARN: Establishing SSL connection without server's identity verification is 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.
Thu Jan 04 22:49:59 CST 2018 WARN: Establishing SSL connection without server's identity verification is 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.
在设置连接数据源时候!设置改为这个! spring.datasource.url=jdbc:mysql://localhost:3306/springbootdb?useUnicode=true&characterEncoding=utf8&useSSL=true
相关文章推荐
- Java连接MySql数据库警告:Establishing SSL connection without server's identity verification is not recommend
- Java连接Mysql数据库警告:Establishing SSL connection without server's identity
- Java连接Mysql数据库警告:Establishing SSL connection
- Java连接Mysql数据库警告:Establishing SSL connection without server's identity verification is not recommend
- Java 连接mysql数据库warn:Establishing SSL connection without server's identity verification is not ...
- Java使用mysql-jdbc连接MySQL出现如下警告: WARN: Establishing SSL connection without server's identity 。。。
- Java连接数据库警告WARN: Establishing SSL connection without server's identity ......
- 连接mysql出现警告:Establishing SSL connection without server's identity verification is not recommended
- 解决JDBC连接MySQL时发出的警告WARN: Establishing SSL connection without server's identity verification ...
- java连接mysql5.7.17出现Establishing SSL connection without server's identity verification is not recomme
- Mysql连接时警告提示【WARN: Establishing SSL connection without server's identity verification is not recomm】
- 解决MySQL在连接时警告:WARN: Establishing SSL connection without server's identity verificatio
- 连接mysql数据库时Establishing SSL connection without server's identity verification is not recommended.
- Java连接Mysql数据库警告:Establishing SSL connection without server's identity verification is not recommend
- [Java][Weblogic] weblogic.net.http.SOAPHttpsURLConnection incompatible with javax.net.ssl.HttpsURLConnection解决办法
- mysql数据库无法连接(JDBC)java.net.ConnectException: Connection timed out
- java 连接 mssql2005 The user is not associated with a trusted SQL Server connection.
- 解决Java使用c3p0连接池连接mysql数据库出现MESSAGE: Software caused connection abort: socket write error的问题
- Mysql报警告:WARN: Establishing SSL connection
- JDBC链接警告WARN: Establishing SSL connection without server's identity verification is not recommended.