Problem
I had my macbook open, it went to sleep and I couldn’t wake it up. After holding down the powerbutton for over 10 seconds, it turned on. Everything was fine until I tried to open the MAMP home page. MySQL couldn’t start. the error logs showed:
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
120904 14:51:31 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
Solution
Solution is to find the mysqlid process and end it. Then restart MAMP and things should be good to go. more details on this great post:
keywords: mamp check that you do not already have another mysqlid process