azure-database-postgresql

Why does connection to my Postgres server in Azure fail if my app does not have SSL enabled?

大城市里の小女人 提交于 2020-01-23 04:37:35
问题 I get a connection failure when I try to connect to my postgres server in Azure from my app/client, which does not have SSL enabled. Unable to connect to server: FATAL: SSL connection is required. Please specify SSL options and retry. Is this a strong requirement? Is there a way I can circumvent this requirement? 回答1: By default, Azure Database for PostgreSQL enforces SSL connections between your server and your client applications to protect against MITM (man in the middle) attacks. This is

Azure PostgreSQL: it is not possible to remove database through Azure CLI

时光毁灭记忆、已成空白 提交于 2019-12-11 16:01:46
问题 I have created pipeline using Azure DevOps for Azure PostgreSQL database. What actually pipeline do? Connect to PostgreSQL; Remove database db_test from PostgreSQL using Azure CLI; az postgres db delete -g my_group -s database_here -n db_test --yes However, I cannot do this due to error: An unexpected error occured while processing the request. Then, I was trying to remove the database using psql, but with no luck due to existing connections to database. From my point of view - Azure CLI must

Can't create a PostgreSQL Superuser role to get an Application installed and running

拜拜、爱过 提交于 2019-12-04 04:20:59
问题 I want to install an application (Odoo) that uses PostgreSQL, but it needs you create a superuser Role to allow the aplication process instalation create its own database. I just created an Azure PostgreSQL database (PaaS), but the user it creats is not a Superuser, and can't create a superuser role. Is there a way to get my admin user a Superuser? 回答1: To explain the users and roles a little better for Azure Database for PostgreSQL: By default, when a server is created we have the following

Can't create a PostgreSQL Superuser role to get an Application installed and running

£可爱£侵袭症+ 提交于 2019-12-01 20:25:28
I want to install an application (Odoo) that uses PostgreSQL, but it needs you create a superuser Role to allow the aplication process instalation create its own database. I just created an Azure PostgreSQL database (PaaS), but the user it creats is not a Superuser, and can't create a superuser role. Is there a way to get my admin user a Superuser? Saloni Sonpal To explain the users and roles a little better for Azure Database for PostgreSQL: By default, when a server is created we have the following 3 roles defined, which you can also see when you run SELECT rolname FROM pg_roles; – azure_pg