티스토리 뷰
WARN: Establishing SSL connection without server's identity verification is not recommended.
개소왕 2018. 7. 6. 06:16Fri Jul 06 06:10:05 KST 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.
* 해결
jdbc:mysql://localhost:3306/Peoples?autoReconnect=true&useSSL=false
&useSSL=false 를 추가
* 참고 : database url 에 프로퍼티 추가해도 안 돌아 갔던 문제 (& 문제)
http://dogcowking.tistory.com/242
* 참고 2 : root-config.xml에 다음을 추가 했으나 효과 없었음.
<prop key="hibernate.connection.autoReconnection">true</prop>
<prop key="hibernate.connection.verifyServerCertificate">false</prop>
<prop key="hibernate.connection.useSSL">false</prop>
'SW개발 > Database' 카테고리의 다른 글
ibd, binlog 의 역할? (0) | 2018.08.24 |
---|---|
mysql 원인을 알 수 없는 오류 (0) | 2018.08.22 |
MySQL Timezone 설정 (2) | 2018.05.28 |
com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'µµÄì Ç¥ÁؽÃ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC (0) | 2018.05.10 |
SQL Error: 0, SQLState: 08S01 Communications link failure / (0) | 2018.05.10 |