MEVCORE
install.prisma_database_url

Prisma: DATABASE_URL is not set or has the wrong format

A mevcore app hosting error at the “install and build” stage.

What it means

Prisma reads the address of the database from DATABASE_URL (or DIRECT_URL), and it is empty or does not start with the protocol of the provider from schema.prisma (postgresql://, mysql://).

The error happened while installing dependencies or building the project. The new version was not started, the current one keeps running.

Typical causes

  • The install or build command exited with an error
  • Out of memory or disk space
  • The language or package manager version is not the one the project expects

How to fix it on mevcore

Check the variable on the «Environment» tab and the provider in schema.prisma; the panel sets DATABASE_URL when a database is connected on the «Services» tab.

  1. 1 Open the app in the mevcore panel: the Problems card on the overview shows this error and the log line it was found in.
  2. It is fixed on the “Environment” tab of the app.
  3. 2 After the fix, deploy again. If it fails again, the log ends with [mevcore] lines naming the new error code.
  4. 3 The "Ask AI" button next to the error prepares a request for ChatGPT or Claude: the error code, the end of the log without secrets and the app settings.

For an AI assistant

The same in English: paste it together with the log into the AI chat.

mevcore error code: install.prisma_database_url
phase: install and build
diagnosis: Prisma: DATABASE_URL is not set or has the wrong format
platform hint: Prisma reads the address of the database from DATABASE_URL (or DIRECT_URL), and it is empty or does not start with the protocol of the provider from schema.prisma (postgresql://, mysql://). Check the variable on the «Environment» tab and the provider in schema.prisma; the panel sets DATABASE_URL when a database is connected on the «Services» tab.
platform docs: https://mevcore.com/llms-full.txt

All error codes · How to prepare your project for mevcore · llms-full.txt

Can't fix it?

Message support with the error code: we will tell you what to change in the project or settings.

App hosting

What should we call you?

Enter your name before starting the chat.

Hello! Type your question and an agent will reply as soon as possible.
Rate the agent’s reply