1. EasyHost
  2. Errors
  3. Prisma P3014: could not create the shadow database

Prisma P3014: could not create the shadow database

Your database role cannot create databases, so Prisma needs an explicit shadow database.

Last updated November 9, 2026

The error

P3014: Prisma Migrate could not create the shadow database

Why it happens

Your database role cannot create databases, so Prisma needs an explicit shadow database.

How to fix it

Use the shadow connection string from ezhst db info.

datasource db {
  provider          = "postgresql"
  url               = env("DATABASE_URL")
  shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
}

Still stuck

Read the build log and runtime logs, or browse all errors.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

npx ezhst skill install