jdbc connection to clustered msql
Posted by: arto.pastinen
Date: September 20, 2005 03:53AM

Hi!

I dont know the details of the background mysql, but there is somekind cluster/replication system.
I have only connection details.

When i try to connection mysql with jdbc, i get following stack:

Caused by: java.sql.SQLException: General error, message from server: "EAC: Unknown or unsupported sql query 'set' rejected"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1876)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1098)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1192)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1153)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2048)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2017)
at com.mysql.jdbc.Connection.execSQL(Connection.java:1998)

Any hints?!?

i try to get connection from jakarta tomcat's datasource.

driver is mysql-connector-java-3.0.10-stable-bin.jar from ibiblio.
I think that mysql version is something like 4x

- Artsi

Options: ReplyQuote


Subject
Written By
Posted
jdbc connection to clustered msql
September 20, 2005 03:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.