[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Creating MySQL Plugin for Export - cannot find MySQL conecto
Page 1 of 1

Creating MySQL Plugin for Export - cannot find MySQL conecto

Posted: 15 Jun 2016 16:51
by gatesyp
Hi,

I have created a MySQL plugin to export the current graph to my existing custom database.

The code works fine in my test environment, the only problem is when I install the plugin to Gephi it throws error:

No suitable driver found for jdbc:mysql://xxx.xxxx.xxx/xxxx

I have added the .jar file for mysql-connector to the dependencies folder in my ExportPlugin project, and it builds fine.

I did not edit any .xml or build files - when browsing through it, it did not seem that there was a spot to add local dependencies.

I have also tried adding the .jar file to my classpath, but it did not change (error is still thrown).

I know that there is built-in functionality to Gephi to import from MySQL - is there a way I can use whatever drivers Gephi uses in my plugin? Or do I have to add my own my-sql-connector jar file, and add it as a dependency?

Thanks