diff --git a/broker/pom.xml b/broker/pom.xml index d7d67434..6641371b 100644 --- a/broker/pom.xml +++ b/broker/pom.xml @@ -48,7 +48,7 @@ mysql mysql-connector-java - 8.0.11 + 8.0.19 diff --git a/broker/src/main/resources/c3p0-config.xml b/broker/src/main/resources/c3p0-config.xml index 7cda063a..6d952373 100755 --- a/broker/src/main/resources/c3p0-config.xml +++ b/broker/src/main/resources/c3p0-config.xml @@ -18,7 +18,7 @@ com.mysql.cj.jdbc.Driver - jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8 + jdbc:mysql://localhost:3306/wfchat?verifyServerCertificate=false&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8 root diff --git a/distribution/src/main/resources/c3p0-config.xml b/distribution/src/main/resources/c3p0-config.xml index 4fe7073d..34556ab5 100755 --- a/distribution/src/main/resources/c3p0-config.xml +++ b/distribution/src/main/resources/c3p0-config.xml @@ -15,7 +15,7 @@ com.mysql.cj.jdbc.Driver - jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8 + jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8 root