JDBC & MySQL: WARN: Establishing SSL connection without server’s identity verification is not recommended.
![](https://i0.wp.com/exabig.com/wp-content/uploads/2018/08/mysql_user_pass.jpg?resize=250%2C150)
While setting up flyway database versioning. I encountered with a warning. Flyway is a database versioning tool. 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…