Re: Azure Database for PostgreSQL flexible server: password authentication failed - Mailing list pgsql-general

From Alexander Farber
Subject Re: Azure Database for PostgreSQL flexible server: password authentication failed
Date
Msg-id CAADeyWgaHUvVfhyE9dWyGjzkNB_RkK4iQNmoHSZkEt-w=hfEVg@mail.gmail.com
Whole thread Raw
In response to Re: Azure Database for PostgreSQL flexible server: password authentication failed  (Alexander Farber <alexander.farber@gmail.com>)
Responses Re: Azure Database for PostgreSQL flexible server: password authentication failed
List pgsql-general
Ah my team mate has spotted the error for me.

And it paid off, that he has no experience with PostgreSQL yet :-)

Because the admin user for Azure Database for PostgreSQL flexible server is not "postgres" but "postgresql"

Now the connection from a container in AKS works for me:

$ psql "postgresql://postgresql:password12345!!@172.21.32.4:5432/postgres?sslmode=require"
psql (17.4, server 16.6)
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: none)
Type "help" for help.
 
postgres=>

I must find now how to add a non-super user to it next.

Best regards
Alex

pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Azure Database for PostgreSQL flexible server: password authentication failed
Next
From: Alexander Farber
Date:
Subject: Re: How to debug: password authentication failed for user