Browse Source

vpn下的数据库连接

master
xiaoyue 4 years ago
parent
commit
31f9b7bcd5
  1. 8
      conf/db.properties

8
conf/db.properties

@ -1,12 +1,12 @@
# 数据库服务器配置
type=com.alibaba.druid.pool.DruidDataSource
druid.driver-class=com.mysql.cj.jdbc.Driver
#druid.url=jdbc:mysql://192.168.1.8:3306/szwhtrans?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
druid.url=jdbc:mysql://10.14.1.197:3306/jiao_api_alpha_x?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
#druid.username=szwhtrans
#druid.password=rRyPkT2XYW6mMRiX
druid.url=jdbc:mysql://localhost:3306/szwhtrans?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
druid.username=root
druid.password=xc1123
#druid.url=jdbc:mysql://localhost:3306/szwhtrans?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
druid.username=jiao_api_alpha_x
druid.password=YcpfGJyJpy6KfYR3
druid.initial-size=10
druid.max-active=100
druid.min-idle=10

Loading…
Cancel
Save