docker icon indicating copy to clipboard operation
docker copied to clipboard

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

Open Mike-the-one opened this issue 5 years ago • 1 comments

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

Mike-the-one avatar May 22 '21 02:05 Mike-the-one

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)

williamdes avatar May 22 '21 10:05 williamdes