•
Unknown table engine InnoDB
El error “Unknown table engine InnoDB” puede ser que tengamos el engine deshabilitado en el my.cnf con skip-innodb pero también puede ser que nos enfrentemos a problemas de memoria:
En el caso que en el my.cnf no tengamos el skip-innodb, deberemos comprobar el log del MySQL ya que nos podemos encontrar con:
120413 19:40:18 InnoDB: Error: cannot allocate 157302784 bytes of InnoDB: memory with malloc! Total allocated memory InnoDB: by InnoDB 7994352 bytes. Operating system errno: 12 InnoDB: Check if you should increase the swap file or InnoDB: ulimits of your operating system. InnoDB: On FreeBSD check you have compiled the OS with InnoDB: a big enough maximum process size. InnoDB: Note that in most 32-bit computers the process InnoDB: memory space is limited to 2 GB or 4 GB. InnoDB: We keep retrying the allocation for 60 seconds... InnoDB: Fatal error: cannot allocate the memory for the buffer pool 120413 19:41:18 [ERROR] Plugin 'InnoDB' init function returned error. 120413 19:41:18 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Nos indica que no ha podido cargar el engine en memoria, por lo que queda deshabilitado. Deberemos comprobar tanto los parámetros del MySQL que sean correctos como en el equipo si existe suficiente memoria para el MySQL.
Deja un comentario: