Hello, when i followed this Prisma on Dokku with P...
# orm-help
v
Hello, when i followed this Prisma on Dokku with Postgres db, i got authentication error org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
w
Hey. Did you replace the password from the tutorial with your password in config.yml?
v
no i didnt. but how can i get the password value?
w
It should be displayed in your console when you create your backing service
v
hi I got this
w
It's the dsn part. Dsn: postgres://postgres: yourpassword@...
v
oh cool
thanks
w
Just copy that part and insert it in your config.yml
Please let me know if it worked.
v
it work!!! Thank you very much
🎉 1
w
No worries
👍 1
v
hi my schema not loaded
this is my config.yml
w
You didn't specify the endpoint
v
i see. thanks
Hi, i added end point, but still not working
This is the error i get
w
No. You're doing it wrong. Don't specify the datamodel in the config.yml
v
so just end point is enough?
w
Just use the prisma cli now to generate a new service
Then you open the generated prisma.yml and replace the endpoint with your Prisma Server endpoint. Then you deploy your service to your Prisma server
v
When init, i should choose Demo server right?
w
Yes.
But you have to change the endpoint manually anyway
v
ok
these are my files and content
still same error
w
I would seperate these things. All the things that i described in the tutorial is for the prisma SERVER. You can use the prisma server to deploy multiple independent SERVICES. Did you deploy your prisma service to your prisma server?
v
No I didn’t
M getting lost here. Can you provide step by step instruction? Sorry and thanks for your time
w
You should take some time and read the docs 😉
You can just skip Step 1 - 4 because you already deployed your prisma server to dokku
v
Cool will do. M going to lunch now. Thanks for your valuable time.
i got it now. one is Server and another is Service
thanks @w0wka91 for the clarification
🎉 1