-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FATAL: server login failed: wrong password type #3
Comments
Hi, have you managed to make it all work? I am also trying to create connection pooler for prisma, but keep failing for days 😣. I tried this and also yours (forked) repo, but in both cases I can not get past prisma error saying that it can't reach the database. If you made it work, please, it would be extremly helpful if you could create step by step instuctions as you pointed in previous issue. |
I have not been able to get it to work. I even posted on the pgbouncer gitter chat and didn't get much of a response there. I had to give up and move on for now. I hope Google implements a built in solution soon as they have an issue open for that. |
Is it possible this is because this Pgbouncer image uses |
@joanaferreira0011 great suggestion. I had to struggle with quite a few steps to get it working, I am playing with alloydb, but I think the problems are the same, so here are my steps:
|
Describe the bug
I've worked on updating the repo to what's required to run on Google (mostly updating versions and getting rid of deprecated modules). Here's my fork: https://github.com/social-cascade/terraform-google-cloud-sql-pgbouncer. I've tried getting this working with a database that was already set up and a fresh setup using the examples/postgres_private/ but in both cases once I finally got things running, I'd get the error
FATAL: server login failed: wrong password type
when trying to log into it.Steps to reproduce
Set up PGBouncer using terraform on my fork.
Try to connect to the database.
Expected behavior
Connect to the database.
** Additional Context **
Is it possible that a SQL Proxy needs to be added to the infrastructure setup? GoogleCloudPlatform/cloud-sql-proxy#1099
The text was updated successfully, but these errors were encountered: