Reset the database master password on Azure Database services
If you don’t remember your Azure Database for PostgreSQL master password, follow the steps below to reset it to a new value:
- Log in to the Microsoft Azure portal.
- Select the “Resource groups” menu item and then select the resource group containing the Azure Database for PostgreSQL instance.
- Select the Azure Database for PostgreSQL instance you wish to modify.
Click the “Reset password” button on the “Overview” page for the instance, as shown below:
On the resulting page, enter a new password and save the changes.
The master password for the selected database instance will be modified and you should now be able to access the database server with the new password.