1.添加数据库连接池配置

master
x_z 2 years ago
parent 759cf907f4
commit 6865264657

@ -7,6 +7,12 @@ spring:
url: jdbc:mysql://192.168.0.66:3360/udidl_test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: root
hikari:
pool-name: udidl
connection-timeout: 100000 #设置等待超时时间为10秒
maximum-pool-size: 60
minimum-idle: 10
servlet:
multipart:
max-file-size: 100MB

@ -7,6 +7,12 @@ spring:
url: jdbc:mysql://127.0.0.1:3306/udidl_test?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
hikari:
pool-name: udidl
connection-timeout: 100000 #设置等待超时时间为10秒
maximum-pool-size: 60
minimum-idle: 10
servlet:
multipart:
max-file-size: 100MB

Loading…
Cancel
Save