Docker recipe with MySQL (server), Adminer (db management) and phpMyAdmin (another db management).
- For educational material.
- For you that want to start MySQL container with database management included (Adminer/phpMyAdmin).
- For development environment that use MySQL.
- For note to myself.
- For inspiration to other users.
- Docker installed on your machine, or just use Play with Docker [https://labs.play-with-docker.com/] to have fun.
First please have a look on some config on MySQL container, open docker-compose.yml
and look on db
section, you should adjust it to fit your needs, such as password, username etc.
docker compose up -d
docker ps
We provide 2 (two) database management here, because I like both. First you can use Adminer, so access it via http://localhost:8080, the second we also provide phpMyAdmin, so access it via http://localhost:8081.
MIT
Maintained by Sony Arianto Kurniawan <sony@sony-ak.com> and contributors.