Bug #28967 | connector/j sometimes send wrong prepared statements to server after failover | ||
---|---|---|---|
Submitted: | 8 Jun 2007 6:48 | Modified: | 19 Aug 2007 9:02 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[8 Jun 2007 6:48]
Shane Bester
[12 Jun 2007 5:51]
MySQL Verification Team
java version "1.6.0_01" Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) 5.0.38, 5.0.44..
[10 Jul 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[23 Feb 2009 5:41]
Satya Siripuram
java.sql.SQLException: Unknown prepared statement handler (1) given to mysql_stmt_execute at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266) at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93) when we are using the external IP Address then we are not getting the above error, But, when we are using 127.0.0.1 in place of external IP for database we are getting the above error. Is it a mysql bug??. Thanks & Regards, Satya Siripuram