2023-07-19 09:10:23 +08:00

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://47.93.34.101:10323/apzl?rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;autoReconnect=true&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;autoReconnect=true&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;autoReconnect=true&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;autoReconnect=true&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;autoReconnect=true&amp;useSSL=false"
/> -->
</Context>