{"id":844,"date":"2012-09-04T15:03:07","date_gmt":"2012-09-05T01:03:07","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=844"},"modified":"2012-09-04T15:03:07","modified_gmt":"2012-09-05T01:03:07","slug":"mamp-mysql-cant-connect-after-os-x-crash","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/mamp-mysql-cant-connect-after-os-x-crash\/","title":{"rendered":"MAMP – MySQL can’t connect after OS X Crash"},"content":{"rendered":"
I had my macbook open, it went to sleep and I couldn’t wake it up. \u00a0After holding down the powerbutton for over 10 seconds, it turned on. \u00a0Everything was fine until I tried to open the MAMP home page. \u00a0MySQL couldn’t start. \u00a0the error logs showed:<\/p>\n
InnoDB: Check that you do not already have another mysqld process
\nInnoDB: using the same InnoDB data or log files.
\n120904 14:51:31 InnoDB: Unable to open the first data file
\nInnoDB: Error in opening .\/ibdata1<\/p>\n
Solution is to find the mysqlid process and end it. \u00a0Then restart MAMP and things should be good to go. \u00a0more details on this great post:<\/p>\n