Auth error on PSQL
cicerorph
HOBBYOP

a month ago

Even after litteraly copying and pasting the public env var prisma gives this error:

PS C:\Users\Pichau\Desktop\Código\Cubos\backend> bun run prisma:migrate
$ prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "railway", schema "public" at "switchback.proxy.rlwy.net:21349"

Error: P1000: Authentication failed against database server, the provided database credentials for `postgres` are not valid.

3 Replies

cicerorph
HOBBYOP

a month ago

Hello?:


can you verify that the env variable for postgres password is not empty?


cicerorph
HOBBYOP

a month ago

Got it to work, seems that the latest image had done something with the database :/


Welcome!

Sign in to your Railway account to join the conversation.

Loading...