📄 lybbs.properties
字号:
#dbDriver is your database driver.
#MySQL Default:com.mysql.jdbc.Driver
#DB2 Default:COM.ibm.db2.jdbc.app.DB2Driver
#Oracle Default:oracle.jdbc.driver.OracleDriver
#MSSQL Default:com.microsoft.jdbc.sqlserver.SQLServerDriver
dbDriver=com.mysql.jdbc.Driver
#dbUrl is DB connection URL.
#MySQL Default:jdbc:mysql://127.0.0.1/lybbs?useUnicode=true&characterEncoding=GBK
#DB2 Default:jdbc:db2:lybbs
#Oracle Default:jdbc:oracle:thin:@127.0.0.1:1521:lybbs
#MSSQL Default:jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=lybbs
dbUrl=jdbc:mysql://127.0.0.1/lybbs?useUnicode=true&characterEncoding=GBK
#dbUsername is your username connected to database.
#MySQL/DB2/Oracle/MSSQL Default:lybbs
dbUsername=lybbs
#dbPassword is your password connected to database.
#MySQL/DB2/Oracle/MSSQL Default:lybbs
dbPassword=lybbs
#dbRemoveAbandoned is auto remove idle connections or not.
#MySQL/DB2/Oracle/MSSQL Default:false
dbRemoveAbandoned=false
#dbPoolPreparedStatements is prepared statement pooling enabled or not.
#MySQL/DB2/Oracle/MSSQL Default:false
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.
#MySQL/DB2/Oracle/MSSQL Default:0
dbMaxOpenPreparedStatements=50
#dbInitialSize is the initial number of connections when the pool is started.
#MySQL/DB2/Oracle/MSSQL Default:3
dbInitialSize=3
#dbMaxActive is the max connections.
#MySQL/DB2/Oracle/MSSQL Default:20
dbMaxActive=20
#dbMaxIdle is the max connections that can remain idle in the pool.
#MySQL/DB2/Oracle/MSSQL Default:10
dbMaxIdle=10
#dbMinIdle is the min connections that can remain idle in the pool.
#MySQL/DB2/Oracle/MSSQL Default:1
dbMinIdle=1
#dbMaxWait is the max milliseconds that the pool will wait.
#MySQL/DB2/Oracle/MSSQL Default:-1
dbMaxWait=10000
#dbCacheScheme is how to do while up to max connections only for Oracle. Default:1
#DYNAMIC_SCHEME = 1;
#FIXED_WAIT_SCHEME = 2;
#FIXED_RETURN_NULL_SCHEME = 3;
dbCacheScheme=1
#lybbsPath is the home directory installed of lybbs. Default:%lybbs_home%
#MySQL/DB2/Oracle/MSSQL Default:%lybbs_home%
#Warning: Don't add '/' at the end
lybbsPath=D:/web/lybbs
#emailIfConnectionFailed will be viewed for contact when Connection failed.
#MySQL/DB2/Oracle/MSSQL Default:horseye@sina.com
emailIfConnectionFailed=horseye@sina.com
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -