?? poolman.xml
字號:
<?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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -