What if you screw up your phpmyadmin?

1. Relax and have a glass of water

2. Copy the database in case you lose it. For example, in Ubuntu:

sudo su
cd /var/lib/mysql
sudo cp -r netstream2 /home/sambhu/Desktop

3. Remove and Reinstall phpadmin

//remove existing phpmyadmin 
sudo apt-get purge phpmyadmin

//reinstalling a fresh phpadmin
sudo apt-get install phpmyadmin

//NOTE: During Installation Choose No if you already have a database

//Restart Apache
sudo /etc/init.d/apache2 restart

After this phpmyadmin should work as normal. http://localhost/phpmyadmin