31 lines
2.2 KiB
XML
31 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Context>
|
|
<!-- 开发环境 -->
|
|
<Resource name="jdbc/als" auth="Container"
|
|
type="javax.sql.DataSource" maxActive="30" maxIdle="2" maxWait="10000"
|
|
username="apzl" password="apzl@2018"
|
|
driverClassName="com.mysql.jdbc.Driver"
|
|
url="jdbc:mysql://60.205.189.63:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false" />
|
|
<!-- 18测试环境 -->
|
|
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
|
maxActive="30" maxIdle="2" maxWait="10000" username="apzl" password="apzl@2018"
|
|
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://47.94.109.18:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false"
|
|
/> -->
|
|
<!-- 253测试环境 -->
|
|
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
|
maxActive="30" maxIdle="2" maxWait="10000" username="apzl" password="apzl@2018"
|
|
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.7.253:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false"
|
|
/> -->
|
|
<!-- 预投产环境 -->
|
|
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
|
maxActive="30" maxIdle="2" maxWait="10000" username="apzl" password="apzl@2018"
|
|
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://60.205.189.63:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false"
|
|
/> -->
|
|
<!-- 本地环境 -->
|
|
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
|
maxActive="30" maxIdle="2" maxWait="10000" username="apzl" password="apzl@2018"
|
|
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false"
|
|
/> -->
|
|
</Context>
|
|
|