Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

JDBC For MySQL 8/MySQL 8 Problem (2 replies)

$
0
0
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:

mysql-connector-java-8.0.13.jar

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


$ java TL_TERMLIB
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:

$ java TL_TERMLIB

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

Regards,

Viewing all articles
Browse latest Browse all 884

Trending Articles



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