Changing the Default Admin Password in Docker-Based Deployment of PMM2

January 15, 2020
Author
Peter Zaitsev
Share this Post:

April 2021 Update:

From Percona Monitoring and Management 2.27,  the procedure is now simplified and it is possible by running:


 

default password pmm2If you’re automating Percona Monitoring and Management 2 (PMM) deployment with docker, you may want to set a different admin user password upon installation instead of being required to change it upon first login. Here is how you can do it.

After following the PMM2 Docker Installation Instructions, you can run this command:

Where “newpass” is your new desired password  and “pmm-server” is the container name you used to deploy PMM, you should see the following output indicating the password was changed successfully:

That’s it!

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Far
Enough.

Said no pioneer ever.
MySQL, PostgreSQL, InnoDB, MariaDB, MongoDB and Kubernetes are trademarks for their respective owners.
© 2026 Percona All Rights Reserved