Unreachable shadowDatabaseUrl
leads to confusing output
#7341
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: error
topic: prisma migrate dev
CLI: prisma migrate dev
topic: shadow database
Bug description
Note the different ports
How to reproduce
Define schema and env as below, only run the main database but not the shadow database.
Expected behavior
Optimal: Better error message that mentions shadow database.
Pragmatic: Shadow database could also get output line a la
Datasource "db": MySQL database "fk-test2" at "127.0.0.1:3306"
, so error message would just not be a full surprise.Prisma information
.env
schema:
Environment & setup
Prisma Version
2.23.0
The text was updated successfully, but these errors were encountered: