From 4dc5c506c0c9fed79bef825a04610a1559ae1432 Mon Sep 17 00:00:00 2001
From: ZhangJian He <shoothzj@gmail.com>
Date: Thu, 2 Mar 2023 12:15:38 +0800
Subject: [PATCH] Move mysql specify config to github profile

---
 CHANGES.md                                               | 1 +
 apollo-common/src/main/resources/application-github.yaml | 4 ++++
 apollo-common/src/main/resources/application.yaml        | 4 ----
 3 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 apollo-common/src/main/resources/application-github.yaml

diff --git a/CHANGES.md b/CHANGES.md
index 430026af309..9effcdd5b71 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -11,6 +11,7 @@ Apollo 2.2.0
 * [Bump springboot version from 2.7.8 to 2.7.9](https://github.com/apolloconfig/apollo/pull/4750)
 * [[Multi-Database Support] Without Reliance on globally_quoted_identifiers Variable](https://github.com/apolloconfig/apollo/pull/4749)
 * [[Multi-Database Support] Without Reliance on boolean integer compare](https://github.com/apolloconfig/apollo/pull/4757)
+* [[Multi-Database Support] Move Mysql specify config to github profile](https://github.com/apolloconfig/apollo/pull/4759)
 
 ------------------
 All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/13?closed=1)
\ No newline at end of file
diff --git a/apollo-common/src/main/resources/application-github.yaml b/apollo-common/src/main/resources/application-github.yaml
new file mode 100644
index 00000000000..af1cc4e7e32
--- /dev/null
+++ b/apollo-common/src/main/resources/application-github.yaml
@@ -0,0 +1,4 @@
+ spring:
+   datasource:
+     hikari:
+       connectionInitSql: set names utf8mb4
diff --git a/apollo-common/src/main/resources/application.yaml b/apollo-common/src/main/resources/application.yaml
index 470372bbd90..73d2c04326d 100644
--- a/apollo-common/src/main/resources/application.yaml
+++ b/apollo-common/src/main/resources/application.yaml
@@ -31,10 +31,6 @@ spring:
   mvc:
     converters:
       preferred-json-mapper: gson
-  # DataSource
-  datasource:
-    hikari:
-      connectionInitSql: set names utf8mb4
 
 # Tomcat configuration
 server: