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:409) 
at java.sql.DriverManager.getConnection(DriverManager.java:512) 
at java.sql.DriverManager.getConnection(DriverManager.java:171) 
at
testMySql411SqlTrCompatibilityDriver.main(testMySql411SqlTrCompatibilityDriv
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]

Reply via email to