What helped me on Windows 10 was ending the mysqld.exe process in Task Manager and restarting MAMP
mysqld.exe