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.
