Re: Is anyone successfully using DBCP with mySQL?

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

Re: Is anyone successfully using DBCP with mySQL?

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

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: parameter namedataSourceClassName/name valuecom.mysql.jdbc.jdbc2.optional.MysqlDataSource/value /parameter should be parameter