Welcome to the ultimate Docker setup for MySQL and phpMyAdmin! 🎉 Get your database and admin interface running with a few simple steps and dive right into managing your awesome databases with ease and joy! 🌟
- MySQL 8.0: The world's most popular open source database 🗃️.
- phpMyAdmin: A free software tool written in PHP, intended to handle the administration of MySQL over the Web 🌐.
Follow these steps to get your MySQL database and phpMyAdmin running in no time:
Clone or download this repository to get started.
git clone https://github.com/sojohnnysaid/mysql-phpmyadmin-docker-setup.git
cd mysql-phpmyadmin-docker-setup
- Set Up Your Files 📁 Create a directory for shared files:
mkdir -p files_drop_zone
And one for phpMyAdmin configuration:
mkdir -p phpmyadmin_config
- Fire Up Docker Compose 🚀 Run Docker Compose to start your services:
docker-compose up -d
- Access Your Tools 🛠️
phpMyAdmin: http://localhost:8085
Server: db
Username: root
Password: rootpassword
MySQL: Connect via any standard MySQL client at localhost:3326.
- Drop Files & Go! 📤 Simply drop any SQL dumps or files into the files_drop_zone directory, and they're ready to be accessed within both MySQL and phpMyAdmin!
🛠 Configuration You can modify the docker-compose.yml to change environment variables like MySQL passwords or the phpMyAdmin port to suit your needs.