Commit f09cd853 authored by 耿迪迪's avatar 耿迪迪

数据库配置修改

parent 68e0f79f
#mysql #mysql
spring: spring:
datasource: datasource:
username: root username: zhkj_db_n
password: zehong_/sjz!D password: Fwn4B8nALmLtNh2y
url: jdbc:mysql://36.148.23.59:33060/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://36.138.180.82:3309/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 36.148.23.59 host: 36.148.1.253
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 6379
# 数据库索引 # 数据库索引
......
#mysql #mysql
spring: spring:
datasource: datasource:
username: root username: zhkj_db_n
password: zehong_/sjz!D password: Fwn4B8nALmLtNh2y
url: jdbc:mysql://36.148.23.59:33060/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://36.138.180.82:3309/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 36.148.23.59 host: 36.148.1.253
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 6379
# 数据库索引 # 数据库索引
......
#mysql #mysql
spring: spring:
datasource: datasource:
username: root username: zhkj_db_n
password: zehong_/sjz!D password: Fwn4B8nALmLtNh2y
url: jdbc:mysql://36.148.23.59:33060/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://36.138.180.82:3309/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 36.148.23.59 host: 36.148.1.253
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 6379
# 数据库索引 # 数据库索引
......
...@@ -15,7 +15,7 @@ server: ...@@ -15,7 +15,7 @@ server:
spring: spring:
profiles: profiles:
active: test active: prd
#mybatis的相关配置 #mybatis的相关配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment