docs/content/stable/integrations/pgmigrate.md
PGmigrate is a database migration tool with following key features:
Because YugabyteDB's YSQL API is wire-compatible with PostgreSQL, PGmigrate can connect to YugabyteDB just like with PostgreSQL.
To run the PGmigrate tutorial, do the following:
Start a YugabyteDB cluster. Refer to YugabyteDB Prerequisites.
Use the following configuration file for PGmigrate:
callbacks:
beforeAll:
- callbacks/beforeAll
beforeEach:
- callbacks/beforeEach
afterEach:
- callbacks/afterEach
afterAll:
- callbacks/afterAll
- grants
conn: host=yb_tserver_ip dbname=foodb user=yugabyte password=yugabyte port=5433
Proceed with the tutorial using the preceding configuration.