I get 'Error: Could not connect to MySQL server!' when I try to access the MAMP admin through a browser.
According the the MAMP application, mysql and Apache both start but sites that use databases and the MAMP admin are inaccessible.
I tried running:
/Applications/MAMP/Library/bin/mysqladmin -u root -p password NEWPASSWORD
and the feedback is:
/Applications/MAMP/Library/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Can anyone help me? How do I change the mysql password in MAMP?