#1045 – Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES)

I have installed xampp and phpmyadmin. While installing phpmyadmin i faced ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (13). I chose ignore and now when i try to login to phpmyadmin i face #1045 – Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES)

Sql database password: Password

What is the solution?