After a huge crash of my mysql database, I've made a recovery, all is ok except one schema. In phpMyAdmin, this schema doest not cotains any tables, but we i ask mysql to drop the schema (drop database xxxx) I've the following error :

Lost connection to MySQL server during query 

In the mysql error.log, I see the following :

InnoDB: Load table 'xxxx/menu' failed, the table has missing foreign key indexes. Turn off 'foreign_key_checks' and try again.140120 10:52:35  InnoDB: Assertion failure in thread 139903484229376 in file row0mysql.c line 3822
InnoDB: Failing assertion: table
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
09:52:35 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 351196 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x314ff30
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f3dd17aee80 thread_stack 0x30000

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f3d98004b60): is an invalid pointer
Connection ID (thread ID): 710

I have tested all innodb_force_recovery value (1 to 6) and disable foreing key checks, but nothings help... Moreover, in the information_schema I can see some values :

  • In INNODB_SYS_TABLES ==> (1717, 'xxxx', 'menu', 1, 10, 0),
  • In INNODB_SYS_FOREIGN ==> ('xxxx/menu_FK_1', 'xxxx/menu', 'kms_site1/page_zone_component', 1, 5),
  • In INNODB_SYS_FOREIGN_COLS ==> ('xxxx/menu_FK_1', 'page_zone_component_id', 'id', 0),

I think, I've some residual table/index in innodb description file, but I don't know how to repair that...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.