poolman.xml
来自「LyNews凌云新闻系统」· XML 代码 · 共 58 行
XML
58 行
<?xml version="1.0" encoding="UTF-8"?>
<poolman>
<management-mode>local</management-mode>
<!-- ========================================================== -->
<!-- These entries are an example of JDBC Connection pooling. -->
<!-- Many of the parameters are optional. Consult the -->
<!-- UsersGuide.html doument and the poolman.xml.template file -->
<!-- for guidance and element definitions. -->
<!-- ========================================================== -->
<datasource>
<!-- ============================== -->
<!-- Physical Connection Attributes -->
<!-- ============================== -->
<!-- Standard JDBC Driver info -->
<!-- don't do any change with dbname and jndiName -->
<dbname>lybbs</dbname>
<jndiName>jndi-lybbs</jndiName>
<!-- driver is your database driver. Default:com.mysql.jdbc.Driver -->
<driver>com.mysql.jdbc.Driver</driver>
<!--url is the database connection URL used by lybbs. You can change IP and database name to fit your config-->
<url>jdbc:mysql://127.0.0.1/lynews?useUnicode=true&characterEncoding=GBK</url>
<!-- username is your username connected to database. Default:lybbs -->
<username>lynews</username>
<!-- password is your password connected to database. Default:lybbs -->
<password>lynews</password>
<!-- emailIfConnectionFailed is the email viewed on web for contact when Database connection failed. -->
<emailIfConnectionFailed>horseye@sina.com</emailIfConnectionFailed>
<minimumSize>0</minimumSize>
<maximumSize>20</maximumSize>
<connectionTimeout>600</connectionTimeout>
<userTimeout>12</userTimeout>
<shrinkBy>10</shrinkBy>
<logFile>d:/web/lybbs/WEB-INF/classes/lybbs.poolman.log</logFile>
<debugging>true</debugging>
<!-- Query Cache Attributes-->
<cacheEnabled>true</cacheEnabled>
<cacheSize>20</cacheSize>
<cacheRefreshInterval>120</cacheRefreshInterval>
</datasource>
</poolman>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?