This page helps you diagnose and resolve issues that might occur in Database Migration Service
during a migration. Depending on your migration scenario, you can troubleshoot
errors, debug connectivity, or use other debugging tools.

## Diagnose homogeneous migration issues

Learn how to diagnose migration issues for the following homogeneous migrations:

### MySQL to Cloud SQL for MySQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues for MySQL](https://docs.cloud.google.com/database-migration/docs/mysql/diagnose-issues.md.txt).

**Debug connectivity**

Use standard network debugging tools, such as `ping` and `traceroute`.
For more information, see
[Debugging connectivity](https://docs.cloud.google.com/database-migration/docs/mysql/debugging-connectivity.md.txt).

**Other debugging tools**

Use scripts to diagnose and resolve issues. For more information, see
[Debugging and other tools](https://docs.cloud.google.com/database-migration/docs/mysql/debugging-tools.md.txt).

### PostgreSQL to Cloud SQL for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues for homogeneous migrations to Cloud SQL for PostgreSQL](https://docs.cloud.google.com/database-migration/docs/postgres/diagnose-issues.md.txt).

**Debug connectivity**

Use standard network debugging tools, such as `ping` and `traceroute`.
For more information, see
[Debugging connectivity](https://docs.cloud.google.com/database-migration/docs/postgres/debugging-connectivity.md.txt).

**Other debugging tools**

Use scripts to diagnose and resolve issues. For more information, see
[Debugging and other tools](https://docs.cloud.google.com/database-migration/docs/postgres/debugging-tools.md.txt).

### PostgreSQL to AlloyDB for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues in PostgreSQL to AlloyDB migrations](https://docs.cloud.google.com/database-migration/docs/postgresql-to-alloydb/diagnose-issues.md.txt).

**Debug connectivity**

Use standard network debugging tools, such as `ping` and `traceroute`.
For more information, see
[Debugging connectivity](https://docs.cloud.google.com/database-migration/docs/postgresql-to-alloydb/debugging-connectivity.md.txt).

**Other debugging tools**

Use scripts to diagnose and resolve issues. For more information, see
[Debugging and other tools](https://docs.cloud.google.com/database-migration/docs/postgresql-to-alloydb/debugging-tools.md.txt).

### SQL Server to Cloud SQL for SQL Server

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues for SQL Server](https://docs.cloud.google.com/database-migration/docs/sqlserver/diagnose-issues.md.txt).

## Diagnose heterogeneous migration issues

Learn how to diagnose migration issues for the following heterogeneous migrations:

### Oracle to Cloud SQL for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues in Oracle to Cloud SQL for PostgreSQL migrations](https://docs.cloud.google.com/database-migration/docs/oracle-to-postgresql/diagnose-issues.md.txt).

**Debug connectivity**

Use one of the proposed mitigation strategies.
For more information, see
[Connectivity issues](https://docs.cloud.google.com/database-migration/docs/oracle-to-postgresql/diagnose-issues.md.txt#connectivity-issues).

### Oracle to AlloyDB for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues in Oracle to AlloyDB for PostgreSQL migrations](https://docs.cloud.google.com/database-migration/docs/oracle-to-alloydb/diagnose-issues.md.txt).

**Debug connectivity**

Use one of the proposed mitigation strategies.
For more information, see
[Connectivity issues](https://docs.cloud.google.com/database-migration/docs/oracle-to-alloydb/diagnose-issues.md.txt#connectivity-issues).

### SQL Server to Cloud SQL for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues for SQL Server to Cloud SQL for PostgreSQL migrations](https://docs.cloud.google.com/database-migration/docs/sqlserver-to-csql-pgsql/diagnose-issues.md.txt).

**Debug connectivity**

Use one of the proposed mitigation strategies.
For more information, see
[Connectivity issues](https://docs.cloud.google.com/database-migration/docs/sqlserver-to-csql-pgsql/diagnose-issues.md.txt#connectivity-issues).

### SQL Server to AlloyDB for PostgreSQL

**Troubleshoot errors**

Find examples of issues and learn how they can be solved.
For more information, see
[Diagnose issues for SQL Server to AlloyDB for PostgreSQL migrations](https://docs.cloud.google.com/database-migration/docs/sqlserver-to-alloydb/diagnose-issues.md.txt).

**Debug connectivity**

Use one of the proposed mitigation strategies.
For more information, see
[Connectivity issues](https://docs.cloud.google.com/database-migration/docs/sqlserver-to-alloydb/diagnose-issues.md.txt#connectivity-issues).