[MAMP] MySQL initial password setting
Initially you can log in without a password
$ mysql -u root
Set a password
SET PASSWORD = PASSWORD('some password')
Log in using a password
$ mysql -u root -p
Can not enter without a password
$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)