ETL Mapping Error

Hi There,
I tried using the ETL tool to import the data from SQL Server 2017 to Neo4j. However I am getting the following error.

COMMAND: java -cp "C:\Neo4j\AppData\graphApps\neo4j-etl-ui/dist/neo4j-etl.jar;C:\Users\mmuthu\Desktop\Works\SQL Server\jdbc\sqljdbc_7.2\enu\mssql-jdbc-7.2.2.jre8.jar" org.neo4j.etl.NeoIntegrationCli generate-metadata-mapping --rdbms:url "jdbc:sqlserver://XXX.XXX.XXX.XXX:1433;databaseName=TestDB" --rdbms:password "TestPassword" --rdbms:user "databasereader" --schema "dbo" --output-mapping-file "C:\Neo4j\AppData\neo4jDatabases\database-eb24e79c-8388-4c15-9158-ce8201018bdb\installation-3.5.6/import/mssql_testdb_dbo_mapping.json"

  • Skipping reading import options from file because file doesn't exist.

  • Creating RDBMS to CSV mappings...

  • Using database plugin for

  • Crawling schemas

  • Retrieving all schemas

  • Retrieving all catalogs

  • Processed 13 rows for

  • Retrieved 0 schemas

  • Total time taken for - 00:00:00.052 hours

  • 98.1% - 00:00:00.051 -

  • 1.9% - 00:00:00.001 -

  • Command failed due to error (SQLException: No matching schemas found). Rerun with --debug flag for detailed diagnostic information.

Where I executed with --debug mode the error ends with the following..
java.sql.SQLException: No matching schemas found
at org.neo4j.etl.sql.DatabaseClient.getCatalog(
at org.neo4j.etl.sql.DatabaseCatalog.(
at org.neo4j.etl.sql.metadata.TableInfoAssembler.(
at org.neo4j.etl.commands.DatabaseInspector.buildSchemaExport(
at org.neo4j.etl.NeoIntegrationCli.main(
Caused by: schemacrawler.schemacrawler.SchemaCrawlerException: No matching schemas found
at schemacrawler.crawl.SchemaCrawler.crawlSchemas(
at schemacrawler.crawl.SchemaCrawler.crawl(
at schemacrawler.utility.SchemaCrawlerUtility.getCatalog(
at org.neo4j.etl.sql.DatabaseClient.getCatalog(
... 9 more

I would appreciate if anyone can help in fixing this.

A few months late, but I was having the same problem.
It worked when I used dbname.schema explicitly.
e.g. "TestDB.dbo"

@tregovic your absolutely right.