Home > Database > Mysql Tutorial > MYSQL数据连接池配置_MySQL

MYSQL数据连接池配置_MySQL

WBOY
Release: 2016-06-01 13:38:23
Original
1219 people have browsed it

bitsCN.com


MYSQL数据连接池配置

 

在 apache-tomcat-7.0.25/conf

里面的context
 

 

     type="javax.sql. DataSource"
 

     maxActive="100" maxIdle="30" maxWait="10000"

     username="root" password="123456"
 

     driverClassName="com.mysql.jdbc.Driver"

     url="jdbc:mysql://localhost:3306/bookstore?autoReconnect=true"
 

      removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"/>

bitsCN.com

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template