bonjour

voila depuis un moment quand j'active les services de MAMP (apache et Mysql )
Mysql ce ferme au bout de 2-3 min et il est impossible de le redémarrer.

voici une partie du log d'erreur :

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.
130606 20:31:21 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
130606 20:31:21 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
130606 20:31:21 InnoDB: Could not open or create data files.
130606 20:31:21 InnoDB: If you tried to add new data files, and it failed here,
130606 20:31:21 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130606 20:31:21 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130606 20:31:21 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130606 20:31:21 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130606 20:31:21 InnoDB: remove old data files which contain your precious data!
130606 20:31:21 [ERROR] Plugin 'InnoDB' init function returned error.
130606 20:31:21 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130606 20:31:21 [ERROR] Unknown/unsupported storage engine: InnoDB
130606 20:31:21 [ERROR] Aborting

130606 20:31:21 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete

130606 20:31:21 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended

est ce que quelqu'un a déjà résolut de ce problème pour de bon ?

Merci d'avance.

1 réponse


Bonjour,
peux-tu avant de démarrer MAMP faire en console:

ps aux | grep mysql

et donner le résultat?

bien cordialement

antho