#1045 – Access denied for user ‘root’@’localhost’ (using password: NO) error…

Just follow these simple steps :

  1. Go to wamp> apps > phpmyadmin3.5.1. or whatsoever version
  2. find and open config.inc.php in your text editor
  3. Now go to $cfg[‘Servers’][$i][‘password’] = ”; and replace it with the following one
  4. $cfg[‘Servers’][$i][‘password’] = ‘admin’;
  5. Now go to $cfg[‘Servers’][$i][‘AllowNoPassword’] = true; and replace it with the following one
  6. $cfg[‘Servers’][$i][‘AllowNoPassword’] = false;

Restart your local server

Hopes it may solve your problem otherwise they may be some other errors that must be handled carefully.

Thank for reading !