MySQL connection does not work when slave db is down using sql connector...
We are using Java with a MySQL database. My SQL connector - 5.1.39. URL :...
View ArticleBlob reading / writing don't work (no replies)
Hi, I am using connector mysql-connector-java-5.1.38-bin.jar Reading or writing to a Blob data through Blob bl = Connection.createBlob() and afterwards PreparedStatemnet.setBlob(x, bl) doesnt work...
View Articlecom.mysql.jdbc.jdbc2.optional.MysqlXAException: XAER_NOTA: Unknown XID (1 reply)
JbossAS 6.0.0.Final throwing this exception below . Using mysql-connector-java-5.1.16-bin. Any suggestion would be much appreciated. com.mysql.jdbc.jdbc2.optional.MysqlXAException: XAER_NOTA: Unknown...
View ArticlePlease help with exception (3 replies)
java.lang.IllegalArgumentException: Cannot specify localhost/loopback for database connections - use full IP address or host name I'm running a headless install for a 3rd party product that makes a DB...
View ArticleMySQLConnector 5.1.39 - connection.getSlavesConnection() returning...
Hi,i have a problem with the new 5.1.39 driver. The function connection.getSlavesConnection() is returning the master connection. I compared it with version 5.1.24 and: URL replication config:...
View ArticleOut of the box config to switch to master on slave sinc delays from master (2...
Hi, there is some out of the box configuration to switch to master when delays are detected on slaves? I'm using Replication, with a Master-Slave configuration, using readOnly flag to switch between...
View ArticleCommunications link failure and java.net.ConnectException: Connection timed...
Hello experts I'm really newbie with mysql. I got the following error: Exception in component tMysqlInput_1 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The...
View ArticleCommunications link failure and java.net.ConnectException: Connection timed...
Hello experts I'm really newbie with mysql. I got the following error: Exception in component tMysqlInput_1 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The...
View ArticleCommunication Error (1 reply)
I am making a School Management System on Java and MYSQL database. Recently it was working exactly it should be with correct responses from the database. And dont know why but next time when i started...
View ArticleMySQL 5.7 Batch processing DeadLock (no replies)
I developed a application which is importing lots of data from CSV files into several tables. To increase performance i ended up with a multi-threaded solution and batch transactions. In a usual...
View ArticleWindows Native Authentication with Connector/JDBC (no replies)
Is it possible to use Windows Native Authentication with Connector/J? I see that Windows Native Authentication is supported via a plugin that is part of MySQL Enterprise Edition based on this...
View ArticleMySQL Fabric / ConnectorJ feature request (no replies)
Hi guys, Was looking for a place to request some code to be added to ConnectorJ, more exactly to the FabricMySQLConnection class. Currently I am using FabricMySQLDataSource which provides the...
View ArticleMySQL Connector/J UTF-8 (3 replies)
I've set up a small project using Struts 2, Tomcat, Eclipselink and MySQL, which needs to store some special characters in the database using UTF-8. I set up the database tables as "utf8_unicode_ci"....
View ArticleUsing JDBC MySQL Connector with Eclipse for Testers (no replies)
I am using the Jubula plugin with the Eclipse for Testers Luna package on Redhat 6.7. I need to install the MySQL connector so that I can connect to a MySQL database from Eclipse Test menu. However,...
View ArticleORDER BY query (1 reply)
Hi, there! For two days, I'm struggling with this problem: I'm developing a Java application. The program shows an ordered list of objects in a Swing JList. These objects are obtained with a SQL query...
View ArticleSET lc_messages = 'en_US'; (1 reply)
Hi I just installed phpmyadmin but I get this error this error when im trying to logon to MySQL database: SQL query: Edit Edit SET lc_messages = 'en_US'; MySQL said: Documentation #1193 - Unknown...
View ArticleTLSv1.2 support (no replies)
Hello, I try to connect on my MysqL server (5.7, recompiled with OpenSSL) with TLSv1.2 (by invalidating TLSv1.1) and it doesn't work. I use mysql-connector-java-5.1.39 with JRE 1.8. I get this...
View ArticleHelp for becoming able to contribute code to MySQL Connector/J (no replies)
Hi - We'd like to be able to contribute code (bug fixes, enhancements) to MySQL Connector/J. We're working on filling out an Oracle Contributor Agreement for our company. The FAQ asks us to contact...
View ArticleCommunity vs Commercial jars (1 reply)
We're setting up to use MySQL Enterprise Edition, and have come across the fact that there is both a community edition and a commercial edition of the Connector/J jar. We've done a compare of the...
View ArticleMySQL-Connector (2 replies)
Hello, is there a possibility to check the version of the MySQL connector used by the differenct connection at the server? somethin like: Conn1 uses J/5.1.39 Conn2 uses J/5.0.4 Best Regards Christian
View Article