I am getting the following error while trying to add a virtual graph through MYSQL database. I have already installed the connector/J and placed the jar file in the STARDOG/Server/dbms.
The error is as follows:
" Failed to create virtual graph "name": 000012
java.sql.SQLEception: Access denied for user "@"localhost" (using password: NO) (internal server error) "
Can you please provide the next steps to go forward?
It sounds like you have a problem in the property jdbc.username or jdbc.url. Can you share the contents of your properties file with the password removed?
Either you have set the STARDOG_HOME environment variable, or it would by default be set to the directory from which you launched Stardog via the stardog-admin server start command.
So I added ?useSSL=false to my JDBC URL and I was able to create the connection.
Currently, I am using 'auto generated mapping' and 'All Databases' in the Stardog database option. I was able to create the virtual graph but with the following error:
" Failed to request mappings to virtual graph "McD": 000012 Could not initialize class com.complexity.stardog.protocols.http.server.protocolUtils (Internal Server Error) "
Questions:
Can you help me with the error above?
Do I need to assign the virtual graph to a database?
Also, in what format does a data mapping file needs to be in? I have a .OWL file with me that I created in Protege.
Did adding 'useSSL=falseto yourjdbc.url` in the properties file not work?
You can or you can not assign it to a database in which case it's universally accessible from any database
The date mapping files can be written in three fromats
SMS - The first iteration of a custom Stardog mapping format. May be deprecated in the future
SMS2 - The newer Stardog mapping format.
R2RML - W3C standard mapping format
The owl file that you created in protege can just be loaded directly into your database.