-
|
I'm getting a "database connection error" when trying to run Retrospring locally. What should I check? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Question: Answer:
|
Beta Was this translation helpful? Give feedback.
Question:
I'm getting a "database connection error" when trying to run Retrospring locally. What should I check?
Answer:
If you're seeing a database connection error when starting Retrospring, here are a few things to check:
PostgreSQL is running:
Make sure your PostgreSQL service is up and running. You can check this with:
or
Correct database credentials in
.env:Check your
.envfile and ensure theDATABASE_URLis set correctly. A typical format looks like:Database exists:
Run:
to create the database, and
to apply the schema.
Check Postgr…