It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
phpMyAdmin is a free and open-source tool designed to administer MySQL database management systems using a web interface. It provides a graphical user interface to perform various database management-related tasks.
In this guide, we will show how to install phpMyAdmin onAlmaLinux 8.
Install EPEL release by running this command:
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
To install REMI, run this command:
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Next, install fedora-autoloader package:
dnf install http://rpms.remirepo.net/enterprise/8/remi/x86_64/php-fedora-autoloader-1.0.0-5.el8.remi.noarch.rpm
Now you can install phpMyAdmin by running the following:
dnf --enablerepo=remi install phpMyAdmin
To enable new configurations, restart the Apache:
systemctl restart httpd
By default access to phpMyAdmin only from the local IP is enabled. However, you can edit the configuration file and enable access from the specific IP.
To do so, open the configuration file:
vi /etc/httpd/conf.d/phpMyAdmin.conf
Find these lines:
Then add the following lines:
Require ip your_workstation_ip
It should look like here (write your IP instead of "your_workstation_ip"):
Then save the file and exit (pres "Esc", then type :wq and click "Enter").
After you modified the configuration file, make sure to restart the Apache:
systemctl restart httpd
To open phpMyAdmin, open your web browser and enter the URL in the following format:
server_ip/phpmyadmin
So you need to simply enter your server IP and /phpmyadmin.
After you enter this, you should see the phpMyAdmin login page on which you can enter MySQL user credentials:
That's all. Now you can manage databases via phpMyAdmin: