-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jan Goyvaerts (jgoyvaer) wrote:
> Same here. Went back to the 3.0.12 drivers. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, May 28, 2004 10:24 AM > To: [EMAIL PROTECTED] > Subject: Could not getConnection as before with Connector/J v3.0.13 > > Hi, > I tried to use the latest jdbc driver v3.0.13. However, the > program I > coded no more work. It works well with v3.0.12. > The new driver does not accept the following connect url string: > > jdbc:mysql://localhost/trdb?useUnicode=true&characterEncoding=UTF-8 > > The following exception occurs: > > java.sql.SQLException: Cannot load connection class because of > underlying > exception: 'java.lang.NumberFormatException: For input string: > "localhost"'. > at > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:40 > 9) > at java.sql.DriverManager.getConnection(DriverManager.java:512) > at java.sql.DriverManager.getConnection(DriverManager.java:171) > at > testMySql411SqlTrCompatibilityDriver.main(testMySql411SqlTrCompatibility > Driv > er.java:66) > > Is this an error of the driver? Anyone run into the same problem? > > Michael Wu This bug snuck out, and will be fixed with 3.0.14 which I'm uploading as I write this. So much for a smooth release that has a '13' in it's version # :p Sorry for the hassle! -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAty78tvXNTca6JD8RAhhUAJ9sV2SrpTnaI3bkWZHKIICdpSqxIQCgkznL nTbmsDGxlcW4y0zzILim9Bg= =57bu -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]