← Back to team overview

gephi.team team mailing list archive

Re: [Question #150782]: Cannot connect using DB Connector plugin

 

Question #150782 on Gephi changed:
https://answers.launchpad.net/gephi/+question/150782

    Status: Open => Answered

Mathieu Bastian proposed the following answer:
There two different things, the driver is the way Java can connect to a
type of database, for instance mysql and the connector, which is the
actual connection.

So, a driver can connect to any database for a particular type and is
defined by a prefix. In a JDBC url "jdbc:mysql://..." the prefix is
simply "mysql", so your prefix should be test, not the complete JDBC
url.

Your URL looks wrong also, look at this reference to have the correct syntax
http://download.oracle.com/javase/tutorial/jdbc/basics/connecting.html

And acording to the error message "java.lang.ClassNotFoundException:
Will not load classes from default package " your class is in the
default package, be sure to have a valid package name.

-- 
You received this question notification because you are a member of
Gephi Team, which is an answer contact for Gephi.