From 608184ef9e5b39629bf93b6872ce659821d7d934 Mon Sep 17 00:00:00 2001 From: "heavyrain.lee" Date: Fri, 2 Aug 2019 13:16:04 +0800 Subject: [PATCH] jdbc character set to utf8mb4 --- broker/src/main/resources/c3p0-config.xml | 2 +- distribution/src/main/resources/c3p0-config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/src/main/resources/c3p0-config.xml b/broker/src/main/resources/c3p0-config.xml index ddbe308f..5a78e80b 100755 --- a/broker/src/main/resources/c3p0-config.xml +++ b/broker/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=utf8mb4 root diff --git a/distribution/src/main/resources/c3p0-config.xml b/distribution/src/main/resources/c3p0-config.xml index 4fe7073d..00af9e2e 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=utf8mb4 root