Alok, Try 'sudo dpkg-reconfigure mysql-server-5.1' and to give it a new password. After that try to install phpmyadmin or 'sudo dpkg --configure -a' I think.
-- Installation fails if MySQL server is not configured https://bugs.launchpad.net/bugs/456674 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs