# Unable to deploy to vercel

**URL:** https://forum.codewithmosh.com/t/unable-to-deploy-to-vercel/24927
**Category:** Next.js
**Created:** [February 4, 2024, 9:23pm UTC](https://forum.codewithmosh.com/t/unable-to-deploy-to-vercel/24927 "2024-02-04T21:23:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![travelingtramp](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@travelingtramp](https://forum.codewithmosh.com/u/travelingtramp)
#### Post date: [February 4, 2024, 9:23pm UTC](https://forum.codewithmosh.com/t/unable-to-deploy-to-vercel/24927/1 "2024-02-04T21:23:20Z")

</div>

In the going to production section of course lesson 6. I keep getting this error when migrating:

Environment variables loaded from .env  
Prisma schema loaded from prisma/schema.prisma  
Datasource “db”: MySQL database “issue-tracker” at “aws.connect.psdb.cloud”

Error: P3014

Prisma Migrate could not create the shadow database. Please make sure the database user has permission to create databases. Read more about the shadow database (and workarounds) at [About the shadow database](https://pris.ly/d/migrate-shadow)

Original error:  
VT12001: unsupported: create database by failDBDDL  
0: schema\_core::state::DevDiagnostic  
at schema-engine/core/src/state.rs:267
