Articles in this section

How to change the password of a database user in Plesk

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change the password of a MySQL / MariaDB / PostgreSQL / SQL Server database user in Plesk?

Answer

Plesk interface
  1. Log in to Plesk.
  2. Go to Domains > example.com > Databases > User Management.
  3. Click on a database user for which the password should be changed.
  4. Specify a new password
  5. Click OK.

     

     

Command-line interface
  1. Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
  2. Use the plesk bin database command to change the password.

    Note: On Windows Server, start a command prompt as an Administartor.

    In the example below, we are changing the password for the database user john_doe which is hosted on the local MySQL server:

    # plesk bin database --update-dbuser john_doe -passwd "new_password_here" -server localhost:3306

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.