Skip to content

Commit b7f39ba

Browse files
committed
处理 数据库Driver WARN 和 高版本MySQL SSL WARN
1 parent 68a2c0c commit b7f39ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

moss-web/src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ spring:
22
application:
33
name: halo-moss
44
datasource:
5-
url: jdbc:mysql://ip:端口/moss?useUnicode=true&characterEncoding=utf8
5+
url: jdbc:mysql://ip:端口/moss?useUnicode=true&characterEncoding=utf8&useSSL=false
66
username: 用户名
77
password: 密码
8-
driver-class-name: com.mysql.jdbc.Driver
8+
driver-class-name: com.mysql.cj.jdbc.Driver
99
type: com.alibaba.druid.pool.DruidDataSource
1010
filters: stat
1111
maxActive: 20

0 commit comments

Comments
 (0)