Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Browsing all 884 articles
Browse latest View live
↧

Is elideSetAutoCommits still disabled? (no replies)

The known issues page (https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-usagenotes-known-issues-limitations.html) says: > The functionality of the property elideSetAutoCommits has been...

View Article


I am facing connection problem between java and mysql (no replies)

Hi, I am facing connection problem between java and mysql. Error: "com.mysql.jdbc.Driver" Does not exist. What should its solution?

View Article


Load Data Infile won't run under 8.0.17 (no replies)

I recently upgraded from 5.7 to 8.0.17. Now, the following command won't run: LOAD DATA LOCAL INFILE 'e:\\Data\\SBEC\\TEA IDs\\Master_IDs 09152016.csv' Ignore into table epp.sbec_id_Loader FIELDS...

View Article

ASyncTask doInBackground when getConnection (1 reply)

Hello. I am trying to get my Android Studio app to connect to my MySQL server. I have placed the file mysql-connector-java-8.0.17.jar into …\users\…\app\libs\ folder (since I am developing on Windows...

View Article

Connecting to MySQL in Netbeans (1 reply)

I downloaded and ınstalled mysql server 8.0 and ı want to use it in netbeans. When I try to connect mysql by using j connector, ı encounter an error. It's message is "Cannot establish a connection to...

View Article


ServerTImeZone EDT Issue (no replies)

Hi, I work on a project where a team member is getting the following error message when attempting to do a gradle flywayClean. We are upgrading the MySQL Connector Java from version 5.1.38 to 8.0.17....

View Article

CVE-2019-2692 and CVE-2018-3258 (no replies)

Hello, Can any confirm whether the following two CVEs impact MySQL connector/J version 8.0.X only, or do they impact 5.1.48 version as well? 1. CVE-2019-2692 2. CVE-2018-3258 Regards, Vishrut

View Article

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) (3...

I hope someone can tell me how to resolve the above error. After I have added [mysqld] default-time-zone = 'UTC' in my.ini file in MYSQL 8.0 workbench, I am losing the connection on localhost. I am...

View Article


Profiling / recording query timing data with QueryInterceptor (no replies)

Hey all, I am working on rewriting our statement interceptor that logs executed statements into circular memory buffer against MySQL Connector 8.x. I would need to know the creation time of the query...

View Article


preparedStatement.setTimestamp is About ten times slower than others (no...

preparedStatement.setTimestamp is About ten times slower than others. se preparedstatement.settimestamp and preparedstatement.setxx at the same time in the loop, and you can see the gap by running more.

View Article

com.mysql.jdbc.CommunicationsException: The driver was unable to create a...

Hello I am getting below error when updating the data in mysql database. Here is the error com.mysql.jdbc.CommunicationsException: The driver was unable to create a connection due to an inability to...

View Article

Connecting a Java Desktop Application to Remote MySQL Instance (no replies)

I am writing a Java application to access values in a remote MySQL instance. Everything I have read about connecting to the DB has been using "localhost" through JDBC in the URL. A tutorial I read...

View Article

How exactly MySQL support longblob (no replies)

JDBC connection. jdbc:mysql://mi-db:3306/dbmi?blobSendChunkSize=10000&useServerPrepStmts=true&emulateUnsupportedPstmts=false&maxAllowedPacket=200000 Yes I can increase max_allowed_packet...

View Article


ClassNotFoundException: com.mysql.cj.jdbc.Driver (1 reply)

Hello everyone! I am currently working on a Java Swing project in IntelliJ IDEA. I have created a folder called 'lib' inside the main directory of the project. Inside the lib folder has the MySQL...

View Article

Help Java connection Diagnosis (2 replies)

Hello there, attempting to get my java to connect the a server that I am running but am having difficulty. I had it working before but now I can't get the connection to return true. I have this...

View Article


SQLException - Could not retrieve transation read-only status server (2 replies)

A few of the insert queries on a few tables, seem to be failing with the following error: application-2020-01-30-3.log.gz:org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException:...

View Article

MySQL Connectors 8.0: support for DNS-SRV (no replies)

MySQL Connectors 8.0: support for DNS-SRV - https://www.slideshare.net/Grypyrg/mysql-connectors-8019-dns-srv

View Article


ClassNotFoundException Netbeans Mysql (no replies)

NetBeans 11 and MySQL. I have successfully connected to my MySQL DB from within NetBeans and can run queries, but after trying dozens of code samples to connect and trying to tweak using the same...

View Article

insert batch & execute performance (1 reply)

Hi, I have - a table about 100MB size - and try addBatch inserts around 1MB each time - "?rewriteBatchedStatements = true" is to login added - @@global.max_allowed_packet = 256000000 -...

View Article

Connector/J DNS SRV with Consul (no replies)

Connector/J DNS SRV with Consul Demo - http://mysqlhk.blogspot.com/2020/02/connectorj-dns-srv-with-consul-demo.html

View Article
Browsing all 884 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>