DEV Community

Cover image for awesome project 🚒 docker + mysql/mariadb latest version

Posted on

awesome project 🚒 docker + mysql/mariadb latest version

Quick and easiest way to setup mysql database using docker.

after installing the docker and docker-compose follow the below 3 steps and that's it.

  1. β˜‘ clone the repository
  2. β˜‘ run the ./
  3. β˜‘ enjoy !

git repository:
post article :

🎯Quick Start

Just open in a terminal:

git clone
cd docker-mysql
cp env-example .env

You can check the logs using ./ command to see what's going on during the project startup.
you can stop the mysql docker container using ./
connect to mysql database ./
default port for mysql is 3306 and credentials you can see in .env file.

πŸ‘Follow me on GitHub, or tweeter here.

πŸ“’ Soon i will be publish more advance topics like backup & restore mysql DB. Need you likes for support and motivation 😎.

πŸ’Ÿ Feel free to tweet me for any issues

Top comments (0)