Event if MAMP quits, sometimes MySQL is running in the background. Could you kill all MySQL background process and try again?
killall -9 mysqld