Commit 2fe38f5c by 张宗强

update db config

parent d31281d1
...@@ -35,17 +35,17 @@ sharding: ...@@ -35,17 +35,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
......
...@@ -5,9 +5,9 @@ server: ...@@ -5,9 +5,9 @@ server:
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids: proudkids:
auth: auth:
......
...@@ -25,17 +25,17 @@ sharding: ...@@ -25,17 +25,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
......
...@@ -22,17 +22,17 @@ sharding: ...@@ -22,17 +22,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
......
...@@ -25,17 +25,17 @@ sharding: ...@@ -25,17 +25,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
......
...@@ -25,17 +25,17 @@ sharding: ...@@ -25,17 +25,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
......
...@@ -25,17 +25,17 @@ sharding: ...@@ -25,17 +25,17 @@ sharding:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
jdbc-url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等 #mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml mapper-locations: classpath:/mapper/*Mapper.xml
......
...@@ -6,11 +6,11 @@ redis: ...@@ -6,11 +6,11 @@ redis:
spring: spring:
datasource: datasource:
url: jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://172.17.229.80:3306/proudkids_ce_master?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: root
password: pds123!@# password: Pds123!@#
rabbitmq: rabbitmq:
host: 172.17.229.78 host: 172.17.229.78
port: 5672 port: 5672
......
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