Having some problems using DMS - misconfigure the task selection rule (i guess)
testing it between 2 small rds postgres instances created source and target endpoints created a replication instances
( tested connections successfuly )
The task i run keeps failing :
" Last Error No tables were found at task initialization.
Either the selected table(s) or schemas(s) no longer exist or no match was found for the table selection pattern(s)."
Schemas : pg_catalog,information_schema,public
I only want to replicate a single DB called test_db
What should i use in the selection rule ?
You can pass testDB as the schema.
"rules": [{ "rule-type": "selection", "rule-id": "1", "rule-name": "1", "object-locator": { "schema-name": "test_db", "table-name": "%" }, "rule-action": "include" }]
In my experience, my user didn't have the proper permissions/roles in my source MongoDB. My user couldn't access the schema, nor could it read from the tables, thus the error. If anyone sees this error, I suggest creating a user (or granting your user) with super permissions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.