-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDBC connection error #34
Comments
As I don't work on AutoSPARQL anymore I am not sure if it is the correct address but I can at least ping it. As it is a IPv6 address, your internet connection must be IPv6 capable. |
Thanks @KonradHoeffner for your valuable comment, unfortunately my IPv6 connectivity is not allowed now, is it possible to have a ipv4 address for that host? or any suggestion is highly appreciated. |
There are services that provide IPv6 over IPv4, such as Miredo or Teredo. |
Hi dear @KonradHoeffner , thanks a lot for your help. Here is my configuration (I also tried with square brackets in ip address, but the same result): I am working on a research project and for some security reasons my office does not provide ipv6 connectivity and I am not allowed to store data in external database also. So, it would be really great if I can have the dump of the database and can work locally, so that I can ensure that company data does not go outside. Can I have the correct credentials to connect to the DB? Looking forward for your help : ) |
You can only connect to IPv6 addresses with an IPv6 capable internet connection, no matter if you use the program, or phpMyAdmin or any other method. The credentials are correct. DatabaseBackedSPARQLEndpointMetricsTest successfully runs on my machine using Miredo. If you have any problems on a IPv6 capable connection, please tell me. You may be able to create the database yourself using https://github.com/AKSW/SPARQL-Metrics. Unfortunately it is not developed by me so I cannot support you there. |
Hello @KonradHoeffner! |
Hi, when I tried mvn install -N in commons folder, I find that java.lang.RuntimeException: connection could not be initialized., the error in the source code is here:
in
org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDefaultReadOnlyConnection, line 94.
I think the main problem is here in line 78,
String dbHost = "[2001:638:902:2010:0:168:35:119]";
Is the address correct?
Here I paste the whole cmd line output.
The text was updated successfully, but these errors were encountered: