36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
|
|
jdbc.mysql.driver=com.mysql.jdbc.Driver
|
||
|
|
|
||
|
|
#jdbc.mysql.url=jdbc:mysql://localhost:3306/sz_education?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
|
||
|
|
#jdbc.mysql.username=root
|
||
|
|
#jdbc.mysql.password=123
|
||
|
|
|
||
|
|
#jdbc.mysql.url=jdbc:mysql://23.50.192.222:3306/SZEdu?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
|
||
|
|
#jdbc.mysql.url=jdbc:mysql://192.168.0.138:3306/SZEdu?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
|
||
|
|
#jdbc.mysql.username=root
|
||
|
|
#jdbc.mysql.password=root
|
||
|
|
|
||
|
|
jdbc.mysql.url=jdbc:mysql://36.33.26.177:13306/sz_education?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
|
||
|
|
jdbc.mysql.username=root
|
||
|
|
jdbc.mysql.password=root
|
||
|
|
|
||
|
|
|
||
|
|
#connection pool settings
|
||
|
|
druid.initialSize=1
|
||
|
|
druid.maxActive=20
|
||
|
|
|
||
|
|
#druid.maxIdle=10
|
||
|
|
druid.minIdle=5
|
||
|
|
druid.maxWait=60000
|
||
|
|
druid.removeAbandoned=true
|
||
|
|
druid.removeAbandonedTimeout=1200
|
||
|
|
druid.timeBetweenEvictionRunsMillis=60000
|
||
|
|
druid.minEvictableIdleTimeMillis=300000
|
||
|
|
druid.validationQuery= SELECT 1 FROM DUAL
|
||
|
|
druid.testWhileIdle=true
|
||
|
|
druid.testOnBorrow=false
|
||
|
|
druid.testOnReturn=false
|
||
|
|
druid.poolPreparedStatements=true
|
||
|
|
druid.maxPoolPreparedStatementPerConnectionSize=50
|
||
|
|
druid.filters=stat
|
||
|
|
|