From d4f0772a26c5d96ebc87996922c40e23bcd63dbd Mon Sep 17 00:00:00 2001 From: fumeiai Date: Fri, 22 May 2020 17:05:52 +0800 Subject: [PATCH] add mysql online url --- .idea/workspace.xml | 9 ++++++--- src/main/resources/application-dev.yml | 2 +- src/main/resources/application-prod.yml | 8 ++++---- src/main/resources/logback-spring.xml | 2 +- src/main/resources/mapper/generator/StaffDao.xml | 2 +- target/classes/application-dev.yml | 2 +- target/classes/application-prod.yml | 8 ++++---- target/classes/mapper/generator/StaffDao.xml | 2 +- 8 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index effe3682..cf883cc3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,9 +3,11 @@ - + + - + + diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index c499bc7e..77e06a5c 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -3,7 +3,7 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://172.16.157.238:3306/lz_management?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8 + url: jdbc:mysql://101.37.106.150:3306/lz_management?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai username: ldd_biz password: Hello1234 initial-size: 10 diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 9a6c2cb5..8bee87c7 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -3,9 +3,9 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai - username: renren - password: 123456 + url: jdbc:mysql://rm-bp1xhc66ruz72t68p.mysql.rds.aliyuncs.com:3306/lz_manger?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai + username: lz_manger + password: N8zfBwhOC initial-size: 10 max-active: 100 min-idle: 10 @@ -46,4 +46,4 @@ spring: # driver-class-name: org.postgresql.Driver # url: jdbc:postgresql://localhost:5432/renren_security # username: renren -# password: 123456 \ No newline at end of file +# password: 123456 diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 8cd99cce..3c3c33fa 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -8,7 +8,7 @@ - + diff --git a/src/main/resources/mapper/generator/StaffDao.xml b/src/main/resources/mapper/generator/StaffDao.xml index 63e918fc..b123ba5d 100644 --- a/src/main/resources/mapper/generator/StaffDao.xml +++ b/src/main/resources/mapper/generator/StaffDao.xml @@ -98,7 +98,7 @@