Q:

after uploading sample data into magento I can't log in

"Invalid User Name or Password."  i try resetting the password but the email doesn't go through.  I inserted the login details on the database & it still doesn't allow me to login.  Please help. 

A:

try this query (in php myadmin)
UPDATE `admin_user` SET `password` = MD5('NEWPASSWORD') WHERE `username` = 'ADMINUSERNAME';

Try to delete  everything inside var folder
\magento\var\ 

