Skip to content

Connect to Azure Database for PostgreSQL from Mac

Use your Azure PostgreSQL server’s DNS name and database credentials in a PostgreSQL connection. A private server also needs working private DNS from your Mac.

You need a database account and either permitted public access or a route into the server’s private network. For public access, check that the server firewall permits your current public IP address. See Azure’s connection troubleshooting guide.

Obtain the server’s fully qualified DNS name, port, database name, and complete database user name. Copy the user name as supplied; do not add a suffix from an older setup. Azure recommends the DNS name for both public and private connections.

Connect to Azure Database for PostgreSQL from Mac

Section titled “Connect to Azure Database for PostgreSQL from Mac”
  1. Create a PostgreSQL connection using connection basics.
  2. Enter the server DNS name in Host.
  3. Enter the port, database, and database credentials.
  4. Configure TLS for the server.
  5. Click Test.
  6. Click Save & Connect after a successful test.

Use Verify Full for certificate and hostname checks. Follow Azure’s current TLS guidance for the trusted certificate chain. Select any required certificate files through TableAI’s SSL/TLS controls.

For private access, connect your VPN or approved network route before testing. An SSH tunnel also needs a host that can resolve and reach the database.

timeout expired
password authentication failed for user

For a timeout, check the firewall’s source IP and, for private access, DNS and routing. For authentication, compare the complete database user name and password with the server configuration. See 28P01, connection failed, or TLS errors.

Continue with browse and search, or return to the PostgreSQL overview.