
InnoDB: Error number 35 means 'Resource temporarily unavailable'. InnoDB: Check that you do not already have another mysqld processġ70118 15:52:39 InnoDB: Unable to open the first data fileġ70118 15:52:39 InnoDB: Operating system error number 35 in a file operation. InnoDB: using the same InnoDB data or log files. Here is a snippet from the bottom of the mysql error log

I'm not getting any errors in my php log but here is my apache and mysql logs. I attempted to killall but "No matching processes belonging to you were found" error was shownĪbout an hour ago my mqsql was working but not apache, so I found as article that said to rename Library/bin/envvars to _envvars, apache worked on startup but then mysql didn't. Mysql service won't start, InnoDB init function error I'm not sure the path to my data directory? and anything I type in the terminal seems to come back as commmand not found I've searched for some articles but these that I felt would have been close to helping me did not: I've since looked online through google searches and stack overflow to find a resolution but I haven't seen anything that could help me yet. with this command in the Terminal.I've been using MAMP for quite a while now but a few months ago it started to give me issues. Now re-crate the same folder again – just as plain empty directories (e.g. Remove and recreate the following MAMP /tmp/-folder: /Applications/MAMP/tmp/mysql In addition to removing the ib_logfile files, also remove any ibdata files within MAMP’s /db/mysql57/-folder: /Applications/MAMP/db/mysql57/ibdata1 Recreate the MAMP tmp folders Applications/MAMP/db/mysql57/ib_logfile… Also remove the mysql57 ibdata file Applications/MAMP/db/mysql57/ib_logfile1 Manually remove any “ib_logfile” from within MAMP’s /db/mysql57/-folder: /Applications/MAMP/db/mysql57/ib_logfile0 Important: remove the configuration line innodb_force_recovery again, don’t keep this permanently active! Remove the mysql57 ib_logfile file(s)

Now save the file & try to start MAMP’s MySQL service. Within the my.cnf file, add the following lines of text: Use the following command to discard all the running mysqld processes: sudo killall -9 mysqld Force InnoDB recovery on MySQL startupĪdd a new (or edit an existing) MySQL configuration file within MAMP, instructing MySQL to force rebuild (broken) database index files on launch:Īdd the new file named my.cnf so it appears under /Applications/MAMP/conf/my.cnf If yes, this means you already have a MySQL service running. Open the Terminal.app and check if the list of processes contains one or more entries named “ mysqld“: lsof -i In order to fix this mysql.pid error, the following steps can help resolving the issue – start from top to bottom in order to narrow down the one blocking your MAMP MySQL service from starting up.

Which was unsuccessful and showing the error mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended Possible fixes to successfully start MAMP MySQL again However, I ran into this MAMP issue on Big Sur 11 Beta when trying to launch MAMP’s MySQL service using /Applications/MAMP/bin/start.sh /Applications/MAMP/bin/startMysql.sh
#MAMP MYSQL SERVER NOT STARTING HOW TO#
This is not explicitly a macOS Big Sur issue, but could be related to when you sync your MAMP’s MySQL mysql57-folder across multiple Macs (see this previous post on how to achieve this).
