Title
v

Vanna

09/17/2018, 4:52 AM
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

w0wka91

09/17/2018, 4:55 AM
Hey. Did you replace the password from the tutorial with your password in config.yml?
v

Vanna

09/17/2018, 4:56 AM
no i didnt. but how can i get the password value?
w

w0wka91

09/17/2018, 4:57 AM
It should be displayed in your console when you create your backing service
v

Vanna

09/17/2018, 4:59 AM
hi I got this
w

w0wka91

09/17/2018, 5:00 AM
It's the dsn part. Dsn: postgres://postgres: yourpassword@...
v

Vanna

09/17/2018, 5:00 AM
oh cool
thanks
w

w0wka91

09/17/2018, 5:01 AM
Just copy that part and insert it in your config.yml
Please let me know if it worked.
v

Vanna

09/17/2018, 5:04 AM
it work!!! Thank you very much
🎉 1
w

w0wka91

09/17/2018, 5:05 AM
No worries
👍 1
v

Vanna

09/17/2018, 5:13 AM
hi my schema not loaded
this is my config.yml
w

w0wka91

09/17/2018, 5:14 AM
You didn't specify the endpoint
v

Vanna

09/17/2018, 5:14 AM
i see. thanks
Hi, i added end point, but still not working
This is the error i get
w

w0wka91

09/17/2018, 5:20 AM
No. You're doing it wrong. Don't specify the datamodel in the config.yml
v

Vanna

09/17/2018, 5:20 AM
so just end point is enough?
w

w0wka91

09/17/2018, 5:21 AM
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

Vanna

09/17/2018, 5:24 AM
When init, i should choose Demo server right?
w

w0wka91

09/17/2018, 5:25 AM
Yes.
But you have to change the endpoint manually anyway
v

Vanna

09/17/2018, 5:25 AM
ok
these are my files and content
still same error
w

w0wka91

09/17/2018, 5:40 AM
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

Vanna

09/17/2018, 5:41 AM
No I didn’t
M getting lost here. Can you provide step by step instruction? Sorry and thanks for your time
w

w0wka91

09/17/2018, 5:46 AM
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

Vanna

09/17/2018, 5:47 AM
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