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/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:899)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:327)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.internalCreateConnection(JDBCConnection.java:229)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:120)
at org.eclipse.datatools.enablement.internal.mysql.connection.JDBCMySQLConnectionFactory.createConnection(JDBCMySQLConnectionFactory.java:28)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Previous Topic:Remote Synchronization keeps appearing & disappearing: No files changed
Next Topic:Windows firewall?
Goto Forum:
  


Current Time: Fri Apr 23 09:22:28 GMT 2021

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

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

Back to the top