JDBC For MySQL 8/MySQL 8 Problem
Posted by: Mar Angelo Valencia
Date: January 19, 2019 04:35AM

I already migrated to:

mysql Ver 8.0.13-commercial for Linux on x86_64 (MySQL Enterprise Server - Commercial)

But right now I am encoutering a big problem when at first boot/server initialization, I cannot login to MYSQL 8.0 using the latest JDBC Connector:


At first, the Java application cannot login to MySQL with ERROR:

ERR e=java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

But when I try just the MySQL client (command line) using this simple command:

$ mysql -ucoreadm -pcoreamm

then quit to the shell to execute again the command:


The application is now connected to MySQL. I have tested this a couple of times already and the same result.

I hope someone helps. Thanks!

The video URL: https://www.dropbox.com/s/0exuial4iowk6bz/MySQL8-Using-JDBC-2019-01-19_18-22-41.mp4?dl=0


Options: ReplyQuote

Written By
JDBC For MySQL 8/MySQL 8 Problem
January 19, 2019 04:35AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.