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
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]