Is anyone successfully using DBCP with mySQL?

2004-07-15 Thread Frank Burns
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 "

Re: Is anyone successfully using DBCP with mySQL?

2004-07-15 Thread David Smith
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

Re: Is anyone successfully using DBCP with mySQL?

2004-07-16 Thread Frank Burns
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: > >

Re: Is anyone successfully using DBCP with mySQL?

2004-07-16 Thread David Smith
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