Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/02/2015, 07:27
Avatar de gnzsoloyo
gnzsoloyo
Moderador criollo
 
Fecha de Ingreso: noviembre-2007
Ubicación: Actualmente en Buenos Aires (el enemigo ancestral)
Mensajes: 23.324
Antigüedad: 16 años, 5 meses
Puntos: 2658
Respuesta: Problemas en BD

La respuesta te la está dando el mismo MySQL:

Cita:
We do not continue the crash recovery, because the table may become corrupt if we cannot apply the log records in the InnoDB log to it.
To fix the problem and start mysqld:
1) If there is a permission problem in the file and mysqld cannot open the file, you should modify the permissions.
2) If the table is not needed, or you can restore it from a backup, then you can remove the .ibd file, and InnoDB will do a normal crash recovery and ignore that table.
3) If the file system or the disk is broken, and you cannot remove the .ibd file, you can set innodb_force_recovery > 0 in my.cnf and force InnoDB to continue crash recovery here.
A groso modo:
Cita:
No se puede seguir la recuperación de una caída, ya que la tabla puede corromperse si no se puede aplicar los registros de log en el registro de InnoDB de la misma.
Para solucionar el problema e iniciar mysqld:
1) Si hay un problema de permisos en el archivo y mysqld no puede abrir el archivo, debe modificar los permisos.
2) Si no se necesita la tabla, o se puede restaurar desde una copia de seguridad, a continuación, puede eliminar el archivo .ibd y InnoDB va a hacer una recuperación normal del incidente e ignorar esa tabla.
3) Si el sistema de archivos o el disco se rompe, y no se puede quitar el archivo .ibd, puede establecer innodb_force_recovery> 0 en my.cnf y forzar InnoDB para continuar la recuperación de bloqueo.
Obviamente ha habido un problema catastrófico, que usualmente se recupera con una buena politica de backups... que probablemente no haya sido llevada adelante, si se cumple la Ley de Murphy.
__________________
¿A quién le enseñan sus aciertos?, si yo aprendo de mis errores constantemente...
"El problema es la interfase silla-teclado." (Gillermo Luque)