Phpmyadmin is a web interface through which you can manage your Mysql databases.
First we enable the EPEL repository on our centos system because phpMyAdmin is not available in the official CentOS repositories. EPEL link
Run the following yum install command
[root@sysadmin ~]# yum install phpmyadmin
Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections
[root@sysadmin ~]# vim /etc/httpd/conf.d/phpmyadmin.conf
Next we change the authentication in phpMyAdmin from cookie to http
[root@sysadmin ~]# vim /usr/share/phpmyadmin/config.inc.php
Restart Apache and Mysql service
[root@sysadmin ~]# /etc/init.d/httpd restart
[root@sysadmin ~]# /etc/init.d/httpd restart
Afterwards, you can access phpMyAdmin under http://10.102.152.198/phpmyadmin/
First we enable the EPEL repository on our centos system because phpMyAdmin is not available in the official CentOS repositories. EPEL link
Run the following yum install command
[root@sysadmin ~]# yum install phpmyadmin
Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections
[root@sysadmin ~]# vim /etc/httpd/conf.d/phpmyadmin.conf
Next we change the authentication in phpMyAdmin from cookie to http
[root@sysadmin ~]# vim /usr/share/phpmyadmin/config.inc.php
Restart Apache and Mysql service
[root@sysadmin ~]# /etc/init.d/httpd restart
[root@sysadmin ~]# /etc/init.d/httpd restart
Afterwards, you can access phpMyAdmin under http://10.102.152.198/phpmyadmin/
No comments:
Post a Comment