mysql_upgrade: Got error: 2002
mysql_upgrade: Got error: 2002: Can’t connect to local MySQL server through socket ‘/Applications/MAMP/tmp/mysql/mysql.sock’ (61) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
If you’re getting this error in MAMP while trying to upgrade the database, then a possible solution is to restart the computer & open MAMP before running any other applications. It should work.