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 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:
When visiting phpMyAdmin you get the following errors:
“Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.”
Clear your browser cache.
keywords: mamp check that you do not already have another mysqlid process