Reset administrator password of an Azure Database for PostgreSQL flexible server
APPLIES TO: Azure Database for PostgreSQL - Flexible Server
This article provides step-by-step instructions to reset the administrator password of an Azure Database for PostgreSQL flexible server.
Reset server administrator password
Using the Azure portal:
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, select Overview.
The status of the server must be Available for the Reset password button to be enabled on the toolbar.
Select the Reset password button.
In the Reset admin password panel, enter the new password in the Password and Confirm password text boxes, and select Save.
A notification informs you that the password of the server administrator is being reset.
When the process completes, a notification informs you that the password was successfully reset.
Note
Resetting the password of the server administrator in read replicas isn't supported. You can reset the password of the server administrator in the primary server. That password change operation, which is recorded in the Write-Ahead Log of the primary server, is sent asynchronously to all read replicas. When a read replica receives and applies that change locally, any attempt to connect to those replicas with the server administrator user name, must be made using the new password.
Related content
- Start an Azure Database for PostgreSQL flexible server.
- Stop an Azure Database for PostgreSQL flexible server.
- Restart an Azure Database for PostgreSQL flexible server.
- Delete an Azure Database for PostgreSQL flexible server.
- Configure storage autogrow in an Azure Database for PostgreSQL flexible server.
- Configure high availability in an Azure Database for PostgreSQL flexible server.