db.properties

来自「很经典的CMS管理系统源码」· PROPERTIES 代码 · 共 42 行

PROPERTIES
42
字号
##please check your server parameter##
#dbDriver of mysql#
dbDriver=com.mysql.jdbc.Driver
#dbUrl of mysql #
dbUrl=jdbc:mysql://127.0.0.1/yhcms?useUnicode=true&characterEncoding=UTF-8
#your mysql connection user#
dbUsername=root
#the user password#
dbPassword=123
#dbRemoveAbandoned is auto remove idle connections or not.
dbRemoveAbandoned=false

#dbPoolPreparedStatements is prepared statement pooling enabled or not.
dbPoolPreparedStatements=false

#dbMaxOpenPreparedStatements is the maximum number of open statements that can be allocated from the statement pool at the same time, 0 for no limit. Validated only when dbPoolPreparedStatements is true.
dbMaxOpenPreparedStatements=50

#dbInitialSize is the initial number of connections when the pool is started.
#Supported from dbcp 1.2
dbInitialSize=3

#dbMaxActive is the max connections.
dbMaxActive=20

#dbMaxIdle is the max connections that can remain idle in the pool.
dbMaxIdle=10

#dbMinIdle is the min connections that can remain idle in the pool.
dbMinIdle=1

#dbMaxWait is the max milliseconds that the pool will wait.
dbMaxWait=10000

#dbSupportTransaction is database supports transaction or not.
dbSupportTransaction=true

#if can't conn to database,you conn send mail to it
connEmail=yyhweb@126.com

#the system path
path=D:/eclipse/workspace/yhcms

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?