Bug #961 Cannot connect
Submitted: 30 Jul 2003 13:40 Modified: 31 Jul 2003 17:22
Reporter: Carlos Martins Email Updates:
Status: Closed Impact on me:
Category:Connector / J Severity:S2 (Serious)
Version:3.0.8 OS:Linux (Linux (RedHat 9))
Assigned to: Mark Matthews CPU Architecture:Any

[30 Jul 2003 13:40] Carlos Martins

Error: connection closed during transaction, giving up after 3 times.

Dear Sir,
I am using server version MySql 4.1.0-alpha-log and Connecto/J 3.0.8
I suspect I found a bug in the connector/J - I have 4 databases and
after connecting to 3, the 4th one wouldn't connect... turned
out the driver wasn't accepting more than 4 characters for the db name.
     feel free to contact for further details.
     Kind regards

How to repeat:
Have a tomcat server start 4 web apps, each of each connecting a different database in a MySQL server 4.1.0-alpha-log.

The forth connection fails, if that 4th particular database name is longer than 4 characters.

Suggested fix:
don't know...
[31 Jul 2003 17:22] Mark Matthews
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at 

This is a known bug that was fixed quite some time ago in the development tree. You can check out a nightly snapshot build with this fix from http://mmmysql.sourceforge.net/snapshots/stable/