Skip to content

Commit

Permalink
Move mysql specify config to github profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangJian He committed Mar 2, 2023
1 parent 819014f commit 6d90108
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
19 changes: 19 additions & 0 deletions apollo-common/src/main/resources/application-github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2023 Apollo Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
spring:
datasource:
hikari:
connectionInitSql: set names utf8mb4
4 changes: 0 additions & 4 deletions apollo-common/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spring:
mvc:
converters:
preferred-json-mapper: gson
# DataSource
datasource:
hikari:
connectionInitSql: set names utf8mb4

# Tomcat configuration
server:
Expand Down

0 comments on commit 6d90108

Please sign in to comment.