want to use the result of an sql query in another query (2 replies)
Hi i wish i get a response for my question i have one table that contains these fields cell_id/ NodeB_id / Credit/ i want to make max(credit) group by cell_id that is very simple: SELECT MAX(Credit)...
View ArticleCOM_FETCH_STMT protocol Command (1 reply)
Hello All, I'm working with MySQL Connector/J and i want to know which part of the driver implement COM_FETCH_STMT command packet. i look into mysql jdbc driver source code, but i can figure out the...
View ArticleMySQLNonTransientConnectionException thrown (1 reply)
Greetings, I remember that it was working before (linux 11.4 to linux 11.3). I'm back working onto an Applet that works on a 11.3 opensuse web server with apache 2. Connecting from remote windows xp...
View Article'Packet for query is too large' exception when connecting (1 reply)
Hi! I have this exception when I create a connection: Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 > 1048576). You can change this value on the server by...
View Article.MysqlDataTruncation: Data truncation: Out of range value for column 'mobile'...
while running my jsp code in tomcatserver with mysql database i caught with the following exception.Pls tell me wht was wrong??? com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value...
View ArticleIntermittent MySQLSyntaxErrorException: Unknown column - JDBC/Tomcat (no...
This is a Tomcat/JDBC mysql problem. I am not using a resource or JNDI since the HTTP requests supply a database URL and credentials. The connection is made on every request to the servlet. The...
View Articlejava.lang.ClassNotFoundException: com.mysql.jdbc.Driver (no replies)
try { Connection connection; Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection("jdbc:mysql://localhost/javadatabase","root","");...
View Articlendb-bindings : JVM crash while tring to connect to NDB Cluster from java. (1...
Hi All, I have an Java application which is using ndb-bindings 0.7.1 to access NDB cluster. I encountered an JVM crahs, when my application tried to connect to NDB CLuster. Following is the steps...
View ArticleTroubles with accessing remote database (no replies)
Hello, I am trying to access my MySQL database from a remote client using Java with JDBC, but haven't been too successful yet. I am running Windows 7 on the server and Mac OSX Lion on the client. I...
View ArticleCosts of a Connection in ! autocommit mode (no replies)
Are there any costs (viz. in memory usage) incurred by the server when working with a Connection whose autoCommit property is false vs one whose autoCommit property is true? Specifically before any...
View Articleminimize latency to first row when scrolling huge result set? (1 reply)
IN SHORT given that: select id from table limit 1; //table has 100m+ rows; returns in <1s select id from table limit 1 offset 10,000,000; //returns in < 11s why does even the 1st row of "select...
View Articleintermittent mysql remote syntax error exception (no replies)
From time to time one of my mysql clients starts reporting ERROR 1054 (42S22): Unknown column 'xxx' in 'field list' for queries to a mysql 5.0.17 server (stuck on a vanilla centos 5 server...
View Articlestatement.setMaxRows() doesn't work when calling a stored procedure (2 replies)
It seems that Statement doesn't honor setMaxSize() when doing calls to stored procedures. Is this a bug or a feature? Or am I mistaken? The code below gives more than 2 rows (if any_proc() returns...
View Articlejava.lang.ClassNotFoundException: com.mysql.jdbc.Driver (1 reply)
Not sure if I have posted this topic in the correct part of the forum or whether I should've followed another topic but I couldn't seem to find the solution to my problem. Apologies if I have posted...
View ArticleMySQL and Java - problems with stored proc OUT params (1 reply)
I've run into a problem where Java won't let me call CallableStatement.registerOutParameter, I get an SQLException "Parameter number 1 is not an OUT parameter" which seems to be related to this bug:...
View ArticleReceived fatal alert: unknown_ca (no replies)
Hi, I am using this tutorial http://dev.mysql.com/doc/refman/5.5/en/connector-j-reference-using-ssl.html Administrator gave me certificate. I have created keystore, umport certicicate to truststore,...
View ArticleConnector/j : "No suitable driver found" please help... (1 reply)
HI, I'm working on a windows 7 laptop in an Eclipse Juno IDE writing a simple Java SE 7 Swing application to learn how to connect to my 5.5 MySQL database using a Connector/j driver. I seem to be...
View ArticleÅ, Ä and Ö not working for me. (1 reply)
Hello! I am using your Connector/J with JDBC in Java to create and populate a database. However, the database contains Swedish characters (Å, Ä and Ö). I am able to create tables and insert data with...
View ArticleUnable to connect mysql in netbeans ide (1 reply)
I am using netbeans ide 7.1.2 and using mysql db with the necessary driver connector. By mistake i deleted the default table "user" in one of my database. Now i could not connect any of my database in...
View Articlecom.mysql.jdbc.exceptions.MySQLNonTransientConnectionExcepti on: No...
Hi i am getting the following error sometimes. What does it mean? com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was...
View Article