How to recover mysql root password in MacOS
I start my MAMP and try to connect to my MySQL server via localhost or 127.0.0.1 , I tried all the possible password that I think it is correct, but for some reasons it still didn't like it, so I think I forgot it somehow. I need help. Try #1 Enter all the possible passwords MySQL -u root -h localhost -p Enter password: <--- I've tried almost 10 possible passwords I got ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Try #2 Enter possible passwords MySQL -u root -h localhost I got ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: