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.
- ☑ clone the repository
- ☑ run the ./start.sh
- ☑ enjoy !
Just open in a terminal:
git clone https://github.com/shahid-khans/docker-mysql.git
cd docker-mysql
cp env-example .env
./start.sh
Open database editor tool my favorite
You can check the logs using ./logs.sh
command to see what's going on during the project startup.
you can stop the mysql docker container using ./stop.sh
.
connect to mysql database ./mysqlconnect.sh
default port for mysql is 3306
and credentials you can see in .env
file.
📢 Soon i will be publish more advance topics like backup & restore mysql DB. Need you likes for support and motivation 😎.
This project is based on awesome nodedock
MIT