WaspW
Wasp15mo ago
prof_mark

seeding prod db

I follow the instructions here https://github.com/wasp-lang/wasp/issues/1464 to seed my db, but got the error:

❌ --- [Error] Can not connect to database: ---------------------------------------

The database needs to be running in order to execute this command. You can easily start a managed dev database with `wasp start db`.


I am able to connect to the db locally with db admin through the tunnel on port 5432, but when I try to run
wasp db studio
to connect through wasp I get the above error. I do not have wasp running a local dev db, so I am not sure what else I could check
GitHub
We are looking to update this section of the docs to include instructions on how to seed a production db: https://wasp-lang.dev/docs/data-model/backends#seeding-the-database This is a tested workfl...
Was this page helpful?