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:
dataSourceClassName
com.mysql.jdbc.jdbc2.optional.MysqlDataSource
should be
dataSourceClassName
com.mysql.jdbc.Driver
Rep
uly 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:
>
>
o: "Tomcat Users List" <[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.j