: Is anyone successfully using DBCP with mySQL?
I run this exact setup with DBCP and MySQL in production. First, make
sure the mysql jar file is placed in common/lib with the dbcp.jar file.
In your server.xml file:
parameter
namedataSourceClassName/name
valuecom.mysql.jdbc.jdbc2
[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 3:28 AM
Subject: Re: Is anyone successfully using DBCP with mySQL?
I run this exact setup with DBCP and MySQL in production. First, make
sure the mysql jar file is placed in common/lib with the dbcp.jar file.
In your server.xml file:
parameter
I can't get a simple DBCP with mySQL working.
I've looked at gazillions of howtos and tutorials and trawled the archives,
but they seem to be littered with inconsistencies. For example, the example
on the jakarta site for setting up the JNDI Datasource in server.xml for
mySQL uses the param name
I run this exact setup with DBCP and MySQL in production. First, make
sure the mysql jar file is placed in common/lib with the dbcp.jar file.
In your server.xml file:
parameter
namedataSourceClassName/name
valuecom.mysql.jdbc.jdbc2.optional.MysqlDataSource/value
/parameter
should be
parameter