phpMyAdmin - A web interface for MySQL and MariaDB

Docker phpMyAdmin - A web interface for MySQL and MariaDB

PhpMyAdmin_logo.svg.png
phpMyAdmin - A web interface for MySQL and MariaDB


In this tutorial, we are going to use this image: phpmyadmin/phpmyadmin


In DSM go to Docker -> Registry and search for phpmyadmin:

Screenshot 2020-12-11 at 16.56.36.png


Download the second result, phpmyadmin/phpmyadmin image. Pick the latest image, when asked.

Once downloaded, go to the Image tab and double click on phpmyadmin/phpmyadmin.

Click Advanced settings and Enable auto-restart (optional) in next screen.


Skip the Volume and Network tab.


In Port Settings tab set the local port number to any number (for instance, I set it to 3333):

Screenshot 2020-12-11 at 17.00.59.png



Skip the Links tab.

In Environmnent tab set the variables (click the + symbol):
VariableValue
PMA_HOST< you NAS IP >
PMA_PORT< local port of your database container >

* Where can I find < local port of your database container > ? In the next tutorial.


Apply changes and save everything.

phpMyAdmin should be available on http://yourNASip:pmaLocalPort. For instance, if you NAS IP is 192.168.0.10 and PMA local port is 3333, then you'll be connecting to http://192.168.0.10:3333.

For username use root, and password is the MYSQL_ROOT_PASSWORD you set in the MariaDB container (check environmental variables).


** for some reason I can't connect to MariaDB via phpMyAdmin in Safari, so maybe try another browser, like Firefox.
Related resources



  • Like
Reactions: hinnis and WST16
Top