Actually I change the permissions of my var/lib/mysql folder to view the files using the command:
sudo chown -R .
after that wen i was trying to access my phpmyadmin it was displaying error message like:
2002 Cannot log in to the MySQL server
Connection for controluser as defined in your configuration failed.
Can u please tell me the way how to access my phpmyadmin again.
Lot of thanks to all