by using
- d2rq 0.8.1
- xampp 3.3.0 with 10.4.32-MariaDB
- jdbc driver file mysql-connector-j-9.0.0.jar version: Connector/J 9.0.0
I was able to test connect & query MySQL DB in java code successfully.
everything is Ok till now.
Now, I want to use d2rq, so I copied driver file mysql-connector-j-9.0.0.jar to folder:
D2RQd2rq-0.8.1libdb-drivers
then I tried to get mapping using d2rq command:
generate-mapping -o iswc.ttl jdbc:mariadb://localhost:3306/iswc?user=root&password=&useSSL=false
it gaves this error
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Database connection to jdbc:mariadb://localhost:3306/iswc?user=root failed (user: null): No suitable driver found for jdbc:mariadb://localhost:3306/iswc?user=root (E54)
'password' is not recognized as an internal or external command,
operable program or batch file.
'useSSL' is not recognized as an internal or external command,
operable program or batch file.
any suggestion to solve this error.