#1045 - Access denied for user 'root'@'localhost' (using password: NO/YES)

#1045 - Access denied for user 'root'@'localhost' (using password: NO)
                                      OR
#1045 - Access denied for user 'root'@'localhost' (using password: YES)

If you were restored the MySQL Database, then set the password which is current restored Database at phpMyAdmin\config.inc file

1)
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'maheshRestoredDBPassword';

2) You can try Login from command line

C:\xampp\mysql\bin>mysql --user=root --password=maheshRestoredDBPassword

Comments

Popular posts from this blog

AIOMgr: Preparing flush failed with VERR_NOT_SUPPORTED, disabling async flushes

Basic CRUD operations using php, mongodb and knockoutjs with validation

Create Virtual Host in IIS Server