phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
671 stars 456 forks source link

Run mysql inside the phpmyadmin container just for the storage purpose? #332

Closed Mike-the-one closed 1 year ago

Mike-the-one commented 3 years ago

I want to use phpmyadmin with 2FA to manage my databases, however, I don't want phpmyadmin to store anything on my product mysql server. I am wondering if I can setup a phpmyadmin container, it also has an embedded mysql running, so that I can config phpmyadmin to use the embedded mysql for storage only?

Thanks

williamdes commented 3 years ago

Hi @Mike-the-one You need to use PMA_CONTROLHOST to use another control host to host the phpMyAdmin storage database (https://github.com/phpmyadmin/docker#environment-variables-summary)