#database.properties
driver=com.mysql.jdbc.Driver
url=jdbc:mysql://127.0.0.1:3306/smbms?useUnicode=true&characterEncoding=utf-8
user=root
password=root
#连接池当前最大允许连接的空闲连接数
minIdle=45
maxIdle=50
#初始创建的连接个数
initialSize=5
#最大并发活动连接数
maxActive=100
#最大等待时间
maxWait=100
#无用连接回收机制
removeAbandoned=true
removeAbandonedTimeout=180
database.properties
最新推荐文章于 2024-04-25 13:37:22 发布