Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Browsing index pages (887 articles)

socketTimeout uses double the value? (4 replies)

Hello, I would like to confirm a behaviour we have been observing with the MySQL Java JDBC driver. We run the latest version available, 9.4.0. Whatever value we specify for socketTimeout, the timeout...

View Article


AbandonedConnectionCleanupThread's problem (1 reply)

When I analyzed heap memory using MAT, I found that 75% of the memory usage came from the connectionFinalizerPhantomRefs variable of the AbandonedConnectionCleanupThread. Why is this? The version I am...

View Article


Streaming query swallowing SQLException (1 reply)

Intermittent errors from our code are being swallowed someplace during streaming and causing the streaming to hang. I'm fairly certain it's occurring under `ResultSet.next`. Is this a known problem?...

View Article

The mysql connector (JAVA) time zone is faulty (2 replies)

Env JVM: UTC JDBC:serverTimezone=Asia/Shanghai (CST) Mysql: UTC When I use mysql-Connector -java version 8.0.32, I find that when I first query a LocalDateTime data, which is stored in mysql...

View Article

Inquiry About Patch Fix for CVE-2023-22102 in MySQL Connector Dependency (2...

Hi Team, I am reaching out to inquire about the status of a patch fix for the vulnerability CVE-2023-22102 in the MySQL Connector dependency. This vulnerability has been flagged in our environment,...

View Article


Specifying server name in certificate for TLS connection (no replies)

Sometimes the hostname used to connect to a server differs from the subject name in the TLS certificate presented by this server (for valid reasons). Some JDBC drivers allow for that by providing a...

View Article

MySQL Connector/J 8.4.0 (1 reply)

Hello everyone, I am using mysql-connector-j 8.3.0 without any problems but when I tried to update the version to 8.4.0 or to 9.x I got a problem when start the application and trying to connect to...

View Article

MySQL Connector/J Observability with OpenTelemetry (no replies)

https://blogs.oracle.com/mysql/post/mysql-connectorj-observability-with-opentelemetry

View Article


CVE-2024-7254 (no replies)

Hi since 09-18 we have the CVE-2024-7254 which is part of the protobuf-java lib (a dependency of mysql-connector-j) Is this CVE relevant for mysql-connector-j users? Kind Rergards Michael

View Article


Connector/J 9 supported databases (2 replies)

We are in the middle of migration from MySQL 5 to 8 and at the same time we're in the middle of Java virtual threads adoption. Connector/J 9 contain improvements for virtual threads and I wanted to...

View Article

Spring JDBC template batchUpdate: multiple update statements (5 replies)

Hey, hope you are doing great. I have the following question/doubt: I am using spring jdbctemplate batchUpdate method passing in a prepared statement and a batch of params. What it then does is to...

View Article

Connector/J not found (1 reply)

Hello, Where are the download link for the Connector/J for MS Windows? Because In the download page (https://dev.mysql.com/downloads/connector/j/)... They're not there.

View Article

Client-server compatibility 8.0-8.4 (no replies)

Hi all, Can we use mysql connector 8.0 with mysql server 8.4(LTS)? We want to upgrade to the latest LTS version but there are some clients which are still using Connector/J 8.0. Not sure if they may...

View Article


Per field encoding (no replies)

Does the JDBC driver take table level encoding into account? We have a decades old database which uses latin1 as its default character set, but individual tables have a deviating charset, utf8....

View Article

Unable to create initial connections of pool....

Hi Team I am stuck with below error , Although the connection is successful to localhost but still getting below mentioned error SEVERE [main] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to...

View Article


Aletrnative to ParseURL in Connector/J version (no replies)

Hi, with the removal of parseURL from com.mysql.jdbc.NonRegisteringDriver is there an alternative we have for this in version 8?

View Article

Performance degradation after upgrading to MySQL 8 (4 replies)

We have upgraded MySQL in our application from version 5.7.43 to version 8.0.35. We are getting below exception while trying the fetch the records from the database. 231104 04:04:03 :...

View Article


MySQL Connector/J 2FA and FIDO (WebAuthn) (no replies)

MySQL Connector/J 2FA and FIDO (WebAuthn) - https://blogs.oracle.com/mysql/post/mysql-connectorj-fido-webauthn

View Article

mysql-connector 8.0.32 exception : java.lang.IllegalArgumentException:...

mysql-server version: 8.0.32 mysql-connector version: 8.0.32 details : 1. we deploy two database nodes (for example, A and B). 2. one is CST,and the other is PDT. 3. data sync from A to B; when A has...

View Article

Unable to retrieve the timestamp field after upgrading to Mysql connector for...

Hi All, Recently we upgraded our MySQL connector from 5.1.x to 8.0.30 to accommodate the DB server upgrade. After the connector upgrade, application is unable to retrieve the timestamp value from the...

View Article
Browsing index pages (887 articles)


Latest Images