Articles in this section

How to change the PostgreSQL admin password in Plesk for Linux

kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux

Question

How to change the PostgreSQL admin password in Plesk?

Answer

Plesk interface
  1. Log in to Plesk.
  2. Go to Tools & Settings > Database Servers > PostgreSQL > localhost (or another corresponding hostname) next to PostgreSQL.


    Screenshot_2019-06-04_Plesk_Onyx_17_8_11.png
     

  3. Specify a new password and click OK.


    Screenshot_2019-06-04_Plesk_Onyx_17_8_11_1_.png
     

Command-line interface
  1. Connect to your Plesk server via SSH.
  2. Run the following command to change the password:

    # plesk bin database-server --update-server localhost:5432 -type postgresql -passwd '*****'

    • where ***** is a new PostgreSQL admin password.
Was this article helpful?

Comments

1 comment
Date Votes
  • It didn't work, but I have to get back to work and will deal with this later.
    Thanks as usual.
    Ed Walsh

    1

Please sign in to leave a comment.