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 50957f5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
# DataSource
spring.datasource.hikari.connection-init-sql = "SET NAMES utf8mb4"
spring.datasource.url = ${spring_datasource_url}
spring.datasource.username = ${spring_datasource_username}
spring.datasource.password = ${spring_datasource_password}
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
# DataSource
spring.datasource.hikari.connection-init-sql = "SET NAMES utf8mb4"
spring.datasource.url = ${spring_datasource_url}
spring.datasource.username = ${spring_datasource_username}
spring.datasource.password = ${spring_datasource_password}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
# DataSource
spring.datasource.hikari.connection-init-sql = "SET NAMES utf8mb4"
spring.datasource.url = ${spring_datasource_url}
spring.datasource.username = ${spring_datasource_username}
spring.datasource.password = ${spring_datasource_password}

0 comments on commit 50957f5

Please sign in to comment.