Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Cannot connect to MySQL 8 from Inside of Eclipse(Connection failing although I can connect from web server very well)
Cannot connect to MySQL 8 from Inside of Eclipse [message #1800272] Sat, 22 December 2018 17:14
Charles Borrelli is currently offline Charles BorrelliFriend
Messages: 1
Registered: December 2018
Junior Member
I am running OS x (10.14.2) High Sierra

I have eclipse 2018-09 (4.9.0) running and it works fine.

I am running MySQL 8.0.13 and it works fine.

I downloaded mysql-connector-java-8.0.13.jar and installed it the GLOBAL Library/Java/Extensions and even restarted my computer. However, when I get to creating a MySQL connection, I get the message "Ping Failed" and the details of the error are listed below.

If I put a PHP file on the web server it connects fine (PHPMYADMIN works fine) as do other tools.

Any feedback would be appreciated.


java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.base/
at java.base/java.lang.ClassLoader.loadClass(
at java.base/
at java.base/java.lang.ClassLoader.loadClass(
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.internalCreateConnection(
at org.eclipse.datatools.enablement.internal.mysql.connection.JDBCMySQLConnectionFactory.createConnection(
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(
Previous Topic:Remote Synchronization keeps appearing & disappearing: No files changed
Next Topic:Windows firewall?
Goto Forum:

Current Time: Thu Dec 08 10:07:57 GMT 2022

Powered by FUDForum. Page generated in 0.02192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top