Import from existing database (/docs/postgres/import-from-existing-database)
For the complete Prisma documentation index, see llms.txt. A markdown version of any docs page is available by appending
.mdto its URL.
Choose the right path to import data from PostgreSQL or MySQL into Prisma Postgres.
Location: Postgres > Import from existing database
Use this page to choose the right import path for moving an existing database into Prisma Postgres.
Choose your source database
Section titled “Choose your source database”Before you start
Section titled “Before you start”- Create a Prisma Postgres database first.
- Gather the connection details for your existing database.
- Use a direct connection when importing data into Prisma Postgres.
Related pages
Section titled “Related pages”Related pages
Section titled “Related pages”Best Postgres for AI apps: Why Prisma Postgres works well for AI and LLM workloads: built-in pooling, edge connectivity, pgvector, and MCP support.create-db: Learn how to provision temporary Prisma Postgres databases with create-dbDatabase: Overview of Prisma Postgres database operations, connections, pooling, backups, and query analysis.Error reference: Error reference documentation for Prisma PostgresMigrate from Early Access: Move your Prisma Postgres Early Access database to a new PostgreSQL 17 database with dump and restore.