Checking Whether the Destination Database Is Connected

MySQL Migration

Table 1 Checking whether the destination database is connected

Check Item

Whether the destination database is connected

Description

Check the connectivity and accuracy of the IP address, port number, username, and password of the destination database.

Failure Cause and Handling Suggestion

Failure cause: The connection fails.

Handling suggestion: Configure the network by referring to "Network Types" in section Real-Time Migration.

Failure cause: Incorrect username or password

Handling suggestion: Check whether the input username and password for the connection test are correct.

Failure cause: The database account does not allow remote connections.

Handling suggestion:

Run the following command to create a user that allows remote connections. After the migration, delete this user.

CREATE USER 'Account' @ '%' IDENTIFIED BY 'Password'

Failure cause: The database is unavailable.

Handling suggestion: Contact technical support.

MongoDB Migration

Table 2 Checking whether the destination database is connected

Check Item

Whether the destination database is connected

Description

Check the connectivity and accuracy of the IP address, port number, username, and password of the destination database.

Failure Cause and Handling Suggestion

Failure cause: The connection fails.

Handling suggestion: Configure the network by referring to "Network Types" in section Real-Time Migration.

Failure cause: Incorrect username or password

Handling suggestion: Check whether the input username and password for the connection test are correct.

Failure cause: The database is unavailable.

Handling suggestion: Contact technical support.

Failure cause: An internal error occurs.

Handling suggestion: Contact technical support.

Failure cause: SSL connection parameters are not configured.

Handling suggestion: Contact technical support.