Updated on 2023-01-17 GMT+08:00

Full Phase Error: Unknown database ***

Scenarios

During a full migration or synchronization, an error is reported, and the log information is as follows: service DATAMOVE failed, cause by: retry structures failed events=the fail structures are [type=***, index=***, schema_name=***, object_name=***]reason:[Unknown database '***']

Possible Causes

  • The database corresponding to the destination database structure does not exist.
  • The database in which objects to be migrated or synchronized reside is not in the object selection list.

Solution

  1. Check whether the database specified in the error information exists in the destination database.

    • If no, manually create a specified database in the destination database and ensure that the structure of the database is the same as that of the source database. Then, in the task list, locate the row that contains the target task and click Resume in the Operation column to submit the task again.
    • If yes, go to 2.

  2. Check whether the database specified in the error information exists in the source database.

    • If yes, select the database again.
    • If no, the database in which objects reside may have been deleted or DRS does not have the permission to read the database. In this case, objects cannot be migrated. Re-create the task and do not select the objects that reside in the deleted database.