In this segment, we are going to explain to you “How you can install phpMyAdmin with MariaDB on OpenMediaVault with the help of Docker and Portainer for Raspberry Pi all models”
phpMyAdmin requires MariaDB/MySQL
To start the setup first we need to install MariaDB and then we can go ahead and install phpMyAdmin.
In this section, we need to select unless stopped.
Click to Zoom
Once all the settings configured correctly we can go ahead and Deploy the container.
What is phpMyAdmin?
phpMyAdmin is a free and open-source administration tool for MySQL and MariaDB. This is the most popular MySQL administration tool to manage databases and widely used in web hosting services.
You can add your own custom config.inc.php settings by creating a file named “config.user.inc.php” with the various user-defined settings in it, and then linking it into the container using:
Secondly, we need to navigate and click on add container.
Now, we need to type a name and select the image in the next section.
After that, we need to concentrate on 3 things only i.e Volume, Environment, and Restart Policy.
The Default Port for phpMyAdmin is 80, you can always bind the port with some other port according to our requirement or if the port is already in use.
In the section, we need to configure one path for the config folder and bind this folder to our desired path.
After that we need to configure Environment variables as mentioned below in the picture.
Environment variables
PMA_ARBITRARY – when set to 1 connection to the arbitrary server will be allowed
PMA_HOST – define address/hostname of the MySQL server
PMA_VERBOSE – define the verbose name of the MySQL server
PMA_PORT – define port of the MySQL server
PMA_HOSTS – define a comma-separated list of address/hostnames of the MySQL servers
PMA_VERBOSES – define a comma-separated list of verbose names of the MySQL servers
PMA_USER and PMA_PASSWORD – define username to use for the config authentication method
PMA_ABSOLUTE_URI – define user-facing URI
In this section, we need to select unless stopped.
In conclusion
Now, we can go ahead and access our phpMyAdmin on http://omv_ip_address:8085 because we have bound the port 8085 to port 80.
If you come across any issue with this article, please share your thoughts.
i great video. I just have a problem after myip:8090/phpmyadmin, i get a blank page
Help!!! thanks
Please check the port number and then try again.