修改数据库链接为内网链接

This commit is contained in:
韩鹏辉
2023-07-12 09:50:29 +08:00
parent f40c48fab9
commit 51c75f2c24
10 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
spring:
datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
username: chaozhanggui
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver
# datasource:

View File

@@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -1,13 +1,13 @@
# 测试服务器上的数据库连接
spring:
datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
url: jdbc:mysql://127.0.0.1:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: ysk_test
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver
parameter:
domain: https://ky.sxczgkj.cn
domain: https://wxgzh.sxczgkj.cn
swagger:
### 生产环境不允许访问swagger

View File

@@ -5,7 +5,7 @@ spring:
profiles:
### 将一些固定的配置放到下级文件夹下的yml文件中
include: common, ryx, ys
active: dev
active: test
mvc:
view:
prefix: /WEB-INF/jsp/

View File

@@ -7,7 +7,7 @@ spring:
# driver-class-name: com.mysql.jdbc.Driver
datasource:
druid:
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -1,10 +1,10 @@
spring:
datasource:
druid:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&noAccessToProcedureBodies=true&allowMultiQueries=true
username: ysk_test
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver
parameter:
domain:

View File

@@ -1,7 +1,7 @@
spring:
profiles:
include: common, ryx, ys
active: prod
active: test
servlet:
multipart:
max-file-size: 100MB

View File

@@ -1,7 +1,7 @@
spring:
datasource:
druid:
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -1,7 +1,7 @@
spring:
datasource:
druid:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
url: jdbc:mysql://127.0.0.1:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: ysk_test
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -9,7 +9,7 @@ spring:
allow-bean-definition-overriding: true
profiles:
include: common, ryx, ys
active: prod
active: test
datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root