Install and configure PhpMyAdmin to manage multiple MySQL Servers
If you have read and implemented my previous article: how to run multiple MySQL services on a single box, you may like to manage such multiple installation of MySQL or multiple separate MySQL hosts by using a single PhpMyAdmin installation. This is easy enough to do quickly.
I assume you have Apache (httpd) and PHP installed where you want to setup PhpMyAdmin. Let’s proceed to install PhpMyAdmin:
$ cd /var/www/html $ wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/2.11.11.3/phpMyAdmin-2.11.11.3-english.tar.gz?use_mirror=nchc $ tar xzf phpMyAdmin-2.11.11.3-english.tar.gz $ mv phpMyAdmin-2.11.11.3-english phpmyadmin $ cd phpmyadmin
You can of course, download and install PhpMyAdmin automatically using Yum, but here I’ve installed it manually. Now make a config file for it and update that:
$ cp config.sample.inc.php config.inc.php $ vim !$