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
- Log in to Plesk.
- Go to Domains > example.com > Databases > User Management.
- Click on a database user for which the password should be changed.
- Specify a new password
-
Click OK.
Command-line interface
- Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
-
Use the
plesk bin databasecommand 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
Comments
Please sign in to leave a comment.