Browse Source

更改数据库

wh-mc-dev
parent
commit
df7c3da4ba
1 changed files with 2 additions and 2 deletions
  1. 4
      src/main/resources/application.yml

4
src/main/resources/application.yml

@ -36,10 +36,10 @@ spring:
strict: true #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
datasource:
oas:
url: jdbc:mysql://52.81.89.46:3306/springboot?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useTimezone=true&serverTimezone=GMT%2B8&useSSL=false&allowMultiQueries=true
url: jdbc:mysql://120.79.201.240:3306/springboot?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useTimezone=true&serverTimezone=GMT%2B8&useSSL=false&allowMultiQueries=true
#useSSL安全连接 useUnicode编码 characterEncoding编码格式 serverTimezone时区
username: root
password: 704177820
password: ZDUyZWNkZDgtYzE3YS00YzU1LT
hikari:
minimum-idle: 3
maximum-pool-size: 10

Loading…
Cancel
Save