Plesk

How to change a database user password in Plesk

Question

How to change a database user password in Plesk?

Answer

 

Changing a database user password via Plesk

 

  1. Log in to Plesk.

  2. Go to Domains > example.com > Databases > User Management > john_doe.

  3. Specify a new password and click OK.

 

Changing a database user password via a command-line interface

 

  1. Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).

  2. Use the 'plesk bin database' command to change the password (on Windows Server, use 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

 

Exit mobile version