Wednesday, 6 March 2013

thumbnail

How to install phpMyAdmin in CentOS-6

How to install phpMyAdmin in CentOS-6 




PhpMyAdmin is a graphical frontend for mysql. You can manage database with the help of phpMyAdmin.

Ofcourse mysql and mysql-server has to be installed before phpMyAdmin.

1. Open the terminal and type:-

# yum -y install phpMyAdmin




2. Now by default phpmyadmin is locally accessible . To make networkly accessible we have to edit its configuration file.

# vim /etc/httpd/conf.d/phpMyadmin.conf




And replace the 127.0.0.1 with your system ip address for e.g-192.168.100.159 

Comment Deny from all like this

# Deny from All 

3. Restart httpd service

# service httpd restart

4. Now try to access it from the browser like this

http://localhost/phpMyadmin                           <----locallly

http://192.168.100.159/phpMyadmin               <---Remotely

5. Login to the page using your mysql username and password


 In my case my username is : root  
                         password  is : root



Now enjoy using your mysql database graphically.



Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments