Database Credentials #15
-
Maybe I missed this on Wednesday. I am not seeing where or what the credentials are for the Database. On Step three when I run the Freddie |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @freddieb77 ! The app is trying to connect to your local database using the connection string in the
|
Beta Was this translation helpful? Give feedback.
-
Just sharing this in case it helps @freddieb77 I didn't need a password for my connection string ( @mdwiltfong hope this is OK as it is just a dev environment locally on my laptop, or do you think it better that I change the setup to require a password? I created a separate DB called |
Beta Was this translation helpful? Give feedback.
Hey @freddieb77 ! The app is trying to connect to your local database using the connection string in the
.env
file located at the root of the project. So after you create the.env
at the root, you will have to provide the correct connection string. The connection string should look like this. As for what are the credentials, i can only guess. There is typically a defaultpostgres
user in psql. So you can try to connect usingpostgres
as the username. If you don't know the password then maybe you need to change it. Here are some steps on how to do that: