How to install phpMyadmin on centos7/Redhat 7

How yo install phpmyadmin on centos 7 & redhat 7

install phpmyadmin on centosphpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.

source wikipedia

Installation of phpMyadmin

Firstly install epel repo in centos to install phpMyadmin use following command to install epel repo:

yum install epel-release -y

Now EPEL repo is installed and configured, you can install phpMyadmin using yum:

yum install phpmyadmin -y

Now open the phpmyadmin configuration file with editor

nano /etc/httpd/conf.d/phpMyAdmin.conf

change to your ip address to access phpmyadmin from your ip

Require ip

Allow from

Require ip

Allow from

Then save and exit from editor

Restart Apache

systemctl restart httpd

Now go to browser and go to your server ip to access phpmyadmin as below

http://ipaddress/phpmyadmin or

Screenshot from 2015-11-16 18:49:48

and login with mysql root user and password

If you have any problem using this tutorial please feel free to comment below..

Read also:


Leave a Reply

Your email address will not be published.


The reCAPTCHA verification period has expired. Please reload the page.

48-Hour Flash Sale! Courses from just $10.99