Augustas
CCoder.com
•Created by Augustas on 3/5/2025 in #help
password auth failed for user "pgadmin" i think issue that psql server password contains #, $, %
Hi everyone!
I'm deploying Coder on Kubernetes and using Azure Key Vault + External Secrets to inject the PostgreSQL connection string into Coder.
However, my PostgreSQL password contains special characters like #, $, %. When Coder tries to connect, it fails with:
pgsql
pq: password authentication failed for user "pgadmin"
How does Coder handle PostgreSQL connection strings with special characters in passwords?
Should the password be URL-encoded in the connection string?
Is there a known workaround for handling long passwords with special characters?
Would love to hear any insights from the community! Thanks in advance.
5 replies