Building a Database DBA Lab with Docker, PostgreSQL, MySQL, and Percona Monitoring and Management
How I built a local database playground, learned a few lessons the hard way, and created a practical command reference along the way.
Introduction
One of the best ways to learn database administration is to get your hands dirty.
Documentation is important, but there’s something different about building your own environment, breaking it, troubleshooting it, and eventually understanding why everything works.
Recently, I decided to create a local database lab using Docker Desktop on my Mac. My goal was straightforward: build an environment where I could experiment with MySQL, PostgreSQL, Percona XtraDB Cluster (PXC), and Percona Monitoring and Management (PMM), without worrying about disrupting a production environment.
What started as a few containers quickly became a much more …
[Read more]