title: Ping Failure When Trying To Connect to MySql Databse Using Eclipse
body: <p>So I am having a problem setting up a new connection within eclipse so that I can convert a current Maven project into a JPA project. I have a MySql database set up and can access it with WinSql. However, I get a ping failure when I try and connect with Eclipse using the New Connection Profile. All of the info is the same in the fields. I have mysql-connector-java-5.1.32-bin.jar added to my build path so I really don't know what else could be the problem. When the ping fails it gives me the following exception:</p>
  
  <pre><code>java.lang.Exception: Connection failed with unspecified error.
  at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:110)
  at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
  at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
  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:54)
  </code></pre>
  
  <p>Any ideas as to what could be causing this? I've looked around for a few hours and see a lot of similar questions but nothing seems to work. One other thing that might be important is that the  MySql server is hosted on my universites server so I need to connect through a VPN to access it. I do this with Cisco AnyConnect and have no problems connecting with WinSql.</p>