Skip to content

Commit 22d9875

Browse files
committed
chore(liquibase-maven-plugin): disable SSL when connecting to MySQL.
Fixes the following error: $ ./mvnw liquibase:updateSQL [INFO] Scanning for projects... [INFO] [INFO] ------------------------< ru.mystamps:mystamps >------------------------ [INFO] Building My Stamps 0.4.3-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- liquibase-maven-plugin:3.5.5:updateSQL (default-cli) @ mystamps --- [INFO] ------------------------------------------------------------------------ [INFO] Parsing Liquibase Properties File [INFO] File: /Users/coder/git/mystamps/src/main/resources/liquibase/liquibase.properties [INFO] ------------------------------------------------------------------------ Sat Mar 07 20:10:33 GMT 2020 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. [skip ci]
1 parent ebbbff4 commit 22d9875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
driver = com.mysql.jdbc.Driver
2-
url = jdbc:mysql://localhost:3306/mystamps?characterEncoding=UTF-8
2+
url = jdbc:mysql://localhost:3306/mystamps?characterEncoding=UTF-8&useSSL=false
33
username = mystamps
44
password = mystamps

0 commit comments

Comments
 (0)