The awesome project docker + mysql/mariadb latest version database environment.
gihtub repository for the code : https://github.com/shahid-khans/docker-mysql
❤️️ Please like/share/star (⭐) this repository
☑ docker & docker-compose should be installed before proceeding the further steps. can follow the link incase docker is not installed docker setup
🚀 quick and easiest way to setup mysql database using docker in just 3 steps.
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 and run below command , change the .env mysql value before running the ./start.sh or sh start.sh
git clone https://github.com/shahid-khans/docker-mysql.git cd docker-mysql cp env-example .env ./start.sh
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
connect to mysql database
./mysqlconnect.sh default port for mysql is
3306 and credentials you can see in
📢 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