Srini's Point of View

My thoughts on technology, food and other fancies…

MAMP - mysqlcheck: Got error: 1045

I started seeing the following error every time I started MAMP. This began after I changed the root password for my MAMP installation on my MBP.

Mamp Error Msg

/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access
denied for user 'root'@'localhost' (using password: YES) when trying to
connect

It turns out that the default password is hard coded in different scripts under ‘/Applications/MAMP/bin’. In my case the script quickCheckMysqlUpgrade.sh. Just edit the script to have the correct password and you wont see the annoying message again.

php

Comments