I often need to install a certain version of MySQL, MariaDB, or Percona Server for MySQL to run some experiments, whether to check for behavior differences or to provide tested instructions. In this blog series, I will look into how you can install MySQL, MariaDB, or Percona Server for MySQL with Docker. This post, part one, is focused on MySQL Server.
Docker is actually not my most preferred way as it does not match a typical production install, and if you look at service control behavior or file layout it is quite different. What is great about Docker though is that it allows installing the latest MySQL version – as well as any other version – very easily.
Docker also is easy to use when you need a simple, single instance. If you’re looking into some replication-related behaviors, …[Read more]