Can we use dataSource driver="com.mysql.jdbc.Driver"
instead of dataSource driver="org.hsqldb.jdbcDriver"
as specified in Solr 8.5 document for Data Import Handler?
If yes, can you please share me db-data-config.xml
having mysql driver?
This solved the problem for me-
com.mysql.cj.jdbc.Driver
in
data-config.xml
. Default we have driver="com.mysql.jdbc.Driver"
add-schema-fields
in update.autoCreateFields
property.