Install phpMyAdmin with mysql on ubuntu

To install it on your ubuntu system you can use apt-get which is the easiest way. phpMyAdmin is a good option, if you don't want to install LAMPP.

Please follow the below mentioned steps, these will guide you through each and every step of installation.

Step 1
sudo apt-get install phpmyadmin
Step 2
Select Apache2 for the server

Step 3
Choose YES when asked about whether to Configure the database for phpmyadmin with dbconfig-common

Step 4
Enter your MySQL password when prompted

Step 5
Enter the password that you want to use to log into phpmyadmin

Step 6
After the installation has completed, add phpmyadmin to the apache configuration.
sudo nano /etc/apache2/apache2.conf
If you are not comfortable with nano, you can use gedit
sudo gedit /etc/apache2/apache2.conf
Step 7
Add the phpmyadmin config to the file.
Include /etc/phpmyadmin/apache.conf
Step 8
Restart apache:
sudo service apache2 restart


Popular posts from this blog

Inserting and Moving elements inside Ruby Array

Difference between Validations, Callbacks and Observers