First you need to enable the epel repo
# vim /etc/yum.repo.d/epel.repo
enable [epel] and [epel-source]
change enabled=0
to enabled=1
save and exit
Then now install phpmyadmin and configure
# yum install phpmyadmin
# vim /etc/httpd/conf.d/phpMyAdmin.conf
change and highlight all the following
#Order Deny,Allow#Deny from All
Edit the phpmyadmin
# vim /etc/phpMyAdmin/config.inc.php
then edit the host to where your mysql located at either at local or RDS
$cfg['Servers'][$i]['host'] = 'localhost';
Restart httpd
# /etc/init.d/httpd restart
then try to access it at
http://<your-server-IP>/phpmyadmin
the login is your database root login and password
No comments:
Post a Comment