Regaining access to lost MySQL password for PHPMyAdmin on WAMP
I changed the password for my 'root'@'localhost' account in PHPMyAdmin and like ( this person asking here ) and locked myself out of PHPMyAdmin on my browser. I am using WAMP 2.5. The solutions offered on that question don’t work for me because unfortunately I have lost the password that I reassigned root to. Some solutions ask one to reset the password via command line ( including this source ), and I have tried that through the Windows command line without success because I now have no privileges: mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('mynewpassword'); ERROR 1044 (42000):