⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poolman.xml

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 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/lybbs?useUnicode=true&amp;characterEncoding=GBK</url>

    <!-- username is your username connected to database. Default:lybbs -->
    <username>lybbs</username>

    <!-- password is your password connected to database. Default:lybbs -->
    <password>lybbs</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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -