Run MySQL & phpMyAdmin locally in 3 steps using Docker

Miguel Doctor Yuste
6 min readMay 20, 2019

Installing a relational database with a web based management tool is a very common requirement for a wide range of software projects. Not too many years ago, developers needed to download and install these components manually into our local machines in order to be able to work. However, thanks to container based technologies like docker, we can get our environment up and running in 3 simple steps.

Note: This article can be found adapted for other Database Management Systems on the following links:

Environment

This step by step tutorial is written based on the following requirements:

Objectives

This tutorial aims to get up and running a fully functional platform with MySQL Community Edition + phpMyAdmin working on your local machine with the help of docker. Let's briefly describe these elements.

MySQL Community Edition is a freely downloadable version of the world’s most popular open source database that is supported by an active community of open source developers and enthusiasts.

PhpMyAdmin is a free software tool written in PHP aims to provide an easy to use Web based interface to manage a wide range of…

--

--

Miguel Doctor Yuste
Miguel Doctor Yuste

Written by Miguel Doctor Yuste

Ph.D, AI Data Scientist, Software Engineer, Cloud Architect, Systems Engineer, happy father and happy husband :)

Responses (10)