Session Timeout Error (no replies)
Hi, I'm using MYSQL Connector 5.1.17 with mysql 5.0. I get Session Timeout error, if the queries takes a long time. Do I have to add or change any parameters in the MYSQL Connector, so I don't get...
View ArticleProblem with in-memory connector MXJ (no replies)
Good evening, I'm currently trying and configure MySQL in order to have an in-memory database in my unit tests. My environment is: Linux 3.0.0, Java 6 openJDK, MySQL connector 5.0.7 and MXJ 5.0.12....
View Articlecom.mysql.jdbc.CommunicationsException: Communications link failure (no replies)
We have a java process to connect to a database and send out emails It WAS working, up until a month ago or so (I cringe because we didn't notice it till now, yikes) I took out the database connection...
View ArticleMySQL allowNanAndInf Flag ConnectorJ (no replies)
I have a MySQL InnoDB table which contains a column of type 'double'. I am trying to use ConnectorJ to insert a row with the java value of 'NaN' into the column of type 'double'. I have added the...
View ArticleAccess to the sql::mysql::MySQL_Driver (no replies)
I not getting access to the sql::mysql::MySQL_Driver. but I do have access to everything else below. I am not understanding why i don't have access to sql::mysql::MySQL_Driver...
View ArticleExecuting Queries in Parallel (2 replies)
Hello, MySql version: 5.1.42-log JRE version: 1.6 Connector-J version: 5.1.14 I was testing whether from JDBC you can issue multiple statements/queries from multiple threads on a single shared...
View ArticleMySql Sliding Window effect (1 reply)
Dear friends, I am trying to create e "Sliding Window" effect in a mysql database. I want to be able that after a certain time from point of first timestamp, lets say after 10 minutes, I want to...
View ArticleJDBC problems with LOAD DATA LOCAL INFILE - truncated data (2 replies)
Hi I try to load csv files into a databases table. After some lines the import stops and the last entry is truncated. Dev-System: Windows 7 Porfessional 64bit SP1 Prod-System: Windows Server 2008 R2...
View ArticleSyntax error when setting up a connection to an embedded Connector/MXJ (no...
Hi, I'm trying to setup a connection to an embedded Connector/MXJ (I've consulted the "20.5.4.1. Running as part of the JDBC Driver" section in the reference manual) but I always get a syntax error...
View ArticleAnything missing? (1 reply)
Hi all! I tried to run my first java app to connect to mySQL. I've done the following according to the tutorials I found but I wonder if something is missing as this is not working :( - I set a...
View ArticleProblems using MySQL (3 replies)
Hello, I had some problems which trouble me. I solved them but I can't believe that the behavior I found is normal. I use Java 1.6 and mysql 5.5 (from EasyPHP 5.3.7) running the system windows XP pro...
View ArticleVery slow when using remote server (4 replies)
I have a thread open at the oracle board too: https://forums.oracle.com/forums/thread.jspa?threadID=2333993&tstart=0 I am connecting to mysql on my remote webserver, doing some bulk inserts with...
View ArticleJava-mysql highload application crash (1 reply)
I have a problem with my html-scraper. Html-scraper is multithreading application written on Java, by default it run with 128 threads. Shortly, it works as follows: it takes a site url from big text...
View ArticleNot unique table/alias Problem (1 reply)
Hi, I have an interesting problem. I have a sql generator that reads a data model and creates the corresponding SQL. Its generated SQL runs in MySQL Workbench but fails in my appliction with the...
View Articledead lock with mysql connector/J 3.1.12-bin.jar (1 reply)
Hi, We have the following environment: mysql-connector-java-3.1.12-bin.jar JDK 1.6 Connection Pool - tomcat-jdbc.jar Linux OS Tomcat 6.0.35 We are experiencing deadlock issue as follows: Found one...
View Articlecan't figure this out.... (no replies)
I've finally broken down and decided to learn Java, and would like to connect to my mySql database. I'm trying to figure out where to put the files I need to get this working... I'm running a Ubuntu...
View ArticleI18N issue (no replies)
Hi, We are having a Java based application which gets data from specific URL and inserts the data that we are interested into our database. Offlate we are seeing some issues with the data that...
View ArticleDoes MYSQL with Connector 5.x do PreparedStatements (no replies)
Hi forums I'm converting an Apache Derby JDBC application over to MySQL. It managed to get it all working this afternoon. Everything more or less swapped, few syntax changes etc. The main problem was...
View Articlecommited data cannot be seen by a second connection (1 reply)
I am seeing a wierd thing. I insert a line of data using a jdbc/MySql connection in java. I then commit the data. At this point if I open a terminal window I can see this committed data. Another java...
View ArticleException in (1 reply)
Hi, I have a peculiar problem. 1. I am running a standalone Java application which runs a query and returns a resultset and writes it into a CSV. 2. The query is executed quickly. Takes about 10 secs...
View Article