Creating MySQL Plugin for Export - cannot find MySQL conecto

User's perspective on software quality
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
gatesyp
Posts:1
Joined:15 Jun 2016 16:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Creating MySQL Plugin for Export - cannot find MySQL conecto

Post by gatesyp » 15 Jun 2016 16:51

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

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable