-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wu_Yang_SKZ, JPcommon wrote: > java.sql.SQLException: Communication failure during handshake. Is there a > server running on localhost:3306? > at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:275) > at org.gjt.mm.mysql.Connection.<init>(Connection.java:230) > at org.gjt.mm.mysql.Driver.connect(Driver.java:126) > at java.sql.DriverManager.getConnection(DriverManager.java:512) > at java.sql.DriverManager.getConnection(DriverManager.java:171) >
Wu, You're using a _very_ old version of the JDBC driver. Try upgrading to something more recent, like 3.0.16 at http://dev.mysql.com/downloads/connector/j/3.0.html and see if the problem goes away. (This is especially true if you are trying to connect to MySQL 4.1 or newer). -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity Office: +1 708 332 0507 www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBtwEctvXNTca6JD8RAh49AJ9/Nk62obyErj6QGDiGZKeTcaCumgCdFiJb G6WC74IeSWAN4o3e3k5CIzI= =D4BQ -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]