DEV Community

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

Posted on

2 1

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 ./start.sh
  3. ☑ enjoy !

git repository: https://github.com/shahid-khans/docker-mysql
post article : https://syssoft.in/blog/build-docker-container-for-database/

🎯Quick Start

Just open in a terminal:

git clone https://github.com/shahid-khans/docker-mysql.git
cd docker-mysql
cp env-example .env
./start.sh
Enter fullscreen mode Exit fullscreen mode

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.

👍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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more