public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alexander Farber <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Azure Database for PostgreSQL flexible server: password authentication failed
Date: Fri, 28 Feb 2025 16:05:20 +0100
Message-ID: <CAADeyWgaHUvVfhyE9dWyGjzkNB_RkK4iQNmoHSZkEt-w=hfEVg@mail.gmail.com> (raw)
In-Reply-To: <CAADeyWh+6HtWaa8ctVD_PPcBEwS=qYSkYqkQh8JV=wAYBots3Q@mail.gmail.com>
References: <CAADeyWjTfKCyDusy1biPAWmhJWh+9hSNrm219uV7UM7UnmaJ8Q@mail.gmail.com>
	<CAADeyWh+6HtWaa8ctVD_PPcBEwS=qYSkYqkQh8JV=wAYBots3Q@mail.gmail.com>

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


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Azure Database for PostgreSQL flexible server: password authentication failed
  In-Reply-To: <CAADeyWgaHUvVfhyE9dWyGjzkNB_RkK4iQNmoHSZkEt-w=hfEVg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox