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

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: spring:
datasource: datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 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 password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
# datasource: # datasource:

View File

@@ -1,6 +1,6 @@
spring: spring:
datasource: 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 username: root
password: prodCZGmysqlroot@123 password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver

View File

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

View File

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

View File

@@ -7,7 +7,7 @@ spring:
# driver-class-name: com.mysql.jdbc.Driver # driver-class-name: com.mysql.jdbc.Driver
datasource: datasource:
druid: 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 username: root
password: prodCZGmysqlroot@123 password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver

View File

@@ -1,9 +1,9 @@
spring: spring:
datasource: datasource:
druid: druid:
url: 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: username: ysk_test
password: password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
parameter: parameter:

View File

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

View File

@@ -1,7 +1,7 @@
spring: spring:
datasource: datasource:
druid: 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 username: root
password: prodCZGmysqlroot@123 password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver

View File

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

View File

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