Actually, I entered the correct details of user name and password in admin panel in localhost. After entered the details, it shows invalid details.
How do I login to the admin panel in localhost.
There are 3 ways to clear this issue.
You can update password from phpmyadmin. Go to table "admin_user" and run this sql:
UPDATE `admin_user` SET `password` = MD5('YourPassowrd') WHERE `username` = 'USERNAME';
app->etc->local.xml file and check the user name and password details.
Don't worry, No problem with these ways.