2013-03-05 7 views
11
  • Ich Setup MAMP Pro. Davor habe ich MAMP und XAMPP eingerichtet und gelöscht. Ich habe alle Dateien der ersten beiden wahnsinnig gelöscht. Seitdem läuft Apache nicht mehr auf dem Mamp Standard Port 8888 und - MySql läuft einfach nicht.
  • Eine Zeile sagt "check ob mysqld Prozess nicht bereits läuft" Ich habe das überprüft und es ist nicht! -Hier ist das Fehlerprotokoll.
InnoDB: Check that you do not already have another mysqld process 
InnoDB: using the same InnoDB data or log files. 
InnoDB: Unable to lock ./ibdata1, error: 35 
InnoDB: Check that you do not already have another mysqld process 
InnoDB: using the same InnoDB data or log files. 
InnoDB: Unable to lock ./ibdata1, error: 35 
InnoDB: Check that you do not already have another mysqld process 
InnoDB: using the same InnoDB data or log files. 
InnoDB: Unable to lock ./ibdata1, error: 35 
InnoDB: Check that you do not already have another mysqld process 
InnoDB: using the same InnoDB data or log files. 
130305 19:49:08 InnoDB: Unable to open the first data file 
InnoDB: Error in opening ./ibdata1 
130305 19:49:08 InnoDB: Operating system error number 35 in a file operation. 
InnoDB: Error number 35 means 'Resource temporarily unavailable'. 
InnoDB: Some operating system error numbers are described at 
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html 
130305 19:49:08 InnoDB: Could not open or create data files. 
130305 19:49:08 InnoDB: If you tried to add new data files, and it failed here, 
130305 19:49:08 InnoDB: you should now edit innodb_data_file_path in my.cnf back 
130305 19:49:08 InnoDB: to what it was, and remove the new ibdata files InnoDB created 
130305 19:49:08 InnoDB: in this failed attempt. InnoDB only wrote those files full of 
130305 19:49:08 InnoDB: zeros, but did not yet use them in any way. But be careful: do not 
130305 19:49:08 InnoDB: remove old data files which contain your precious data! 
130305 19:49:08 [ERROR] Plugin 'InnoDB' init function returned error. 
130305 19:49:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
130305 19:49:08 [ERROR] Unknown/unsupported storage engine: InnoDB 
130305 19:49:08 [ERROR] Aborting 

130305 19:49:08 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete 

130305 19:49:08 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended 
+1

Hier ist die Lösung, die dieses unordentliche Problem gelöst hat. [Aral Balkens Blog # 1931] (http://aralbalkan.com/1931/) – Asis

Antwort

52

Nur die Suche nach "Activity Monitor" -Anwendung auf MAC und für jede Aufgabe namens mysql suchen und es beenden. Dann Neustart MAMP wird es funktionieren. Hoffe es hilft jemandem.

+3

ja es tut. ;) Vielen Dank. – MEM

+0

Obwohl ich es töte, es schafft es einfach selbst – pal4life

+1

danke, es hat für mich funktioniert – RezaSh

7

Beenden Sie alle mysql oder mysqld Aufgabe (oder andere) in Ihrem Activity Monitor Anwendung.

1

Wenn Sie sie nicht töten mit Activity Monitor, in Klemme tun
$ ps aux | grep mysqld
Die zweite Säule ist die Prozess-ID, und Sie können es stoppen mit (wenn es 1234)
$ kill 1234