How To Install phpMyAdmin in Ubuntu 14.04 / 12.04

1 Mins read

phpMyAdmin is the best option for managing MySQL databases through web interface. Its very easy to use and provides almost all the option to work with your MySQL server. It also provides an easy way to configure mysql replication with few steps.

Step 1: Install Apache2, PHP and MySQL


We assume you already have installed LAMP setup on your system. If you do not have installed, Use following command to install it. Below command will install Apache2, PHP5 and MySQL server in your ubuntu system.

$ sudo apt-get install apache2 php5 mysql-server


Step 2: Install phpMyAdmin


After installing LAMP stack, lets install phpMyAdmin using below given command in your Ubuntu system

$ sudo apt-get install phpMyAdmin


Step 3: Configure Apache2 for phpMyAdmin


After installation of phpMyAdmin it creates an configuration file for apache2. Edit apache2 main configuration file /etc/apache2/apache2.confand add following line at the end of file.

  Include /etc/phpmyadmin/apache2.conf


After updating above entry, restart apache2 service using following command

$ sudo service apache2 restart


Step 4: Access phpMyAdmin in Browser


You phpMyAdmin installation has been completed successfully. Open you favorite web browser and open below url to access phpMyAdmin


If you are accessing from remote system, change localhost to system ip address.


About author
I’m a Web Interactive Developer, graduated from Kathir College, with a passion for front-end web development. I enjoy keeping up with new technologies and making the web awesome. I quickly found my passion was in creating a great user experience. Right now i am working at a company who is passionate about their work and to improve my skills by learning from them.
Related posts

Basic Linux Commands List

6 Mins read
Here are many common Linux commands that will be helpful to you, if you ever even use the command line interface in…

How To install vsftpd on CentOS 6

1 Mins read
The first two letters of vsftpd stand for “very secure” and the program was built to have strongest protection against possible FTP…

How To Setup Virtual Host (Server Block) For Nginx On Ubuntu 14.04

3 Mins read
Here’s a brief tutorial that shows you how to create a virtual host or server block on Nginx web server. Virtual Host…

Leave a Reply

Your email address will not be published. Required fields are marked *