Stardog does not ship with JDBC drivers so you need to manually copy the JAR file containing the driver for your RDBMS into the classpath of the Stardog server. The preferred way of doing this is by setting the STARDOG_EXT environment variable to point to a directory outside the Stardog installation directory and copy the jar file there:
Note that the environment variable needs to be set before the Stardog server is started. If the variable was already set before the server is started then the JAR files can be copied to that location while the server is running without a restart.
Where is the right place to place this mysql jdbc jar file on windows 10 stardog installation?
You can place them inside the Stardog installation directory under server/dbms. You can also set an environment variable (either system level, user level, or in a command prompt) for STARDOG_EXT and place the jar(s) there
I believe you can put it anywhere you want. Create a folder, possibly in your home directory, to contain the jar. Add that folder to your path and create an environment variable for STARDOG_EXT. Its value should be the complete pathname of your new folder.
That should work, although it's a little confusing having the directory the exact same name as the env variable. You also have to have permissions to read the jar in that directory for the user that is running Stardog. You'll also need to restart Stardog for it to see the env variable.....maybe. I'm actually not sure exactly how windows handles shells and env variables but it couldn't hurt to restart.
That’s odd because that shouldn’t have worked or at least that might not have been what did it. I would suggest figuring out what the problem was with using the STARDOG_EXT environment variable. You can alternatively create the directory $STARDOG_HOME/server/ext and put it in there. That keeps your ext jars separate from the system jars. The advantage to using the environment variable is it survives upgrades.
As always it needs to be readable by the user that is running Stardog.