MySQL Statement Cancellation Timer Threads (no replies)
Hola buenos dÃas Desde el soporte de redhat nos dicen que el soporte de mysql tendria que proporcionarnos de si existe algún problema conocido por el controlador de mysql , que cause fugas del...
View ArticleMySQL Connector/J has new Maven Coordinates (no replies)
MySQL Connector/J has new Maven Coordinates - https://blogs.oracle.com/mysql/post/mysql-connectorj-has-new-maven-coordinates
View ArticleSlow query compared mysql 8.0.30(innodbcluster) vs RDS(8.0.30) (no replies)
Hi, I tried the same app using the same queries/hibernate 5.4.33 vs rds-mysql-8.0,30 and mysql-innodbcluster 8.0.30 with using ro and rw ports to achieve max performance. App/Hibernate got very slow...
View ArticleUsing Azure JDBC authentication plugin with MysqlConnectionPoolDataSource...
Hi all: I am using mysql-connector-java(mysql-connector-j) and extended AuthenticationPlugin in com.azure:azure-identity-providers-jdbc-mysql:1.0.0-beta.1 to connect Azure hosted MySQL server. In this...
View ArticleJDBC connection error (1 reply)
Hello everyone, I state that I am a neophyte; I have a problem when I try to connect with jdbc both of the tomcat docker container and of a local host to the postgresql container I get this error: ""...
View ArticleasSql() method is removed from ClientPreparedStatement (2 replies)
In the mysql-connector-java library, ClientPreparedStatement had a public method called asSql(). The function was there in the 8.0.28 jar (Jan 17, 2022) but removed in 8.0.29 (Apr 25, 2022). I...
View ArticleHelp I don't know why my Timestamp statement in JAVA for certain fields is...
Help I need a solution idk why but when making the backend for a project when assigning a Timestamp variable to creation date and modification date if I run a JSON using Postman it just gives me Null...
View Articlewhy mysql jdbc driver of com.mysql.cj.Messages always reference String not...
In our project, have call mysql driver But I don't know why have a String object, Not release memory an when have a SQL query, the String Object will be have again, and at the last will be out of...
View ArticleBug regarding rewritableAsMultiValues introduced in 8.0.29 (8 replies)
After bumping to 8.0.29 and later versions we noticed that batch inserts made by prepared statements took much longer time to execute. After a bit of investigation we found that this only happens on...
View ArticleMySQL Connector/J 5.1: NPE when executing SQL with QueryTimeout>0 on fabric...
When executing sql with QueryTimeout settings, getProperties() in class FabricMySQLConnectionProxy gets NULL when constructing CancelTask resulting in NPE. And sql with QueryTimeout settings is a...
View Articlecannot be cast to class com.mysql.cj.jdbc.ClientPreparedStatement (6 replies)
Hi We are developing a multi-threaded batch application on Spring Boot 2.7.8 + Aurora MySQL 2.11.1 (primary-db/replica-db). I am having trouble with ClassCastException when updating/inserting data...
View ArticleLongtext Column Values getting hex encoded by jdbc driver (1 reply)
Hello, I was developing a simple Java application to save some data to a mysql database using the latest version of the jdbc connector mysql-connector-j-8.0.32 , and jdk 17. I have enabled query...
View ArticleProcedure runs fine in DB but throwing errors while running within...
I have the below procedure which I wanted to run before each test in my application integration tests to quickly truncate all tables in my schema: But this does not work in integration test run while...
View ArticleUnable 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 Articlemysql-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 ArticleMySQL 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 ArticlePerformance 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 ArticleAletrnative 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 ArticleUnable 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 ArticlePer 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 ArticleClient-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 ArticleConnector/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 ArticleSpring 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 ArticleConnector/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 ArticleCVE-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 ArticleMySQL Connector/J Observability with OpenTelemetry (no replies)
https://blogs.oracle.com/mysql/post/mysql-connectorj-observability-with-opentelemetry
View ArticleMySQL 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 ArticleSpecifying 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 ArticleInquiry 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 ArticleThe 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