|
|
|
| Добрый день.
пытаюсь удалить запись из таблицы(много таблиц, но не из какой не дается удаление)
delete from access_log where id=10
но mysql вылетает с ошибкой ERROR 2013 (HY000): Lost connection to MySQL server during query, а в логах пишет такое
InnoDB: Your database may be corrupt.
060621 16:45:49 InnoDB: Error: page 238 log sequence number 7 2472379597
InnoDB: is in the future! Current system log sequence number 0 468847.
InnoDB: Your database may be corrupt.
060621 16:45:49 InnoDB: Error: page 131072 log sequence number 7 2473576841
InnoDB: is in the future! Current system log sequence number 0 468847.
InnoDB: Your database may be corrupt.
InnoDB: Error: trying to access page number 402060610 in space 0
InnoDB: which is outside the tablespace bounds.
InnoDB: Byte offset 0, len 16384, i/o type 10
060621 16:45:49InnoDB: Assertion failure in thread 36874 in file fil0fil.c line
1207
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/mysql/en/Forcing_recovery.html
InnoDB: about forcing recovery.
mysqld got signal 11;
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.
key_buffer_size=1073741824
read_buffer_size=16773120
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 130671
K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x8785fa8
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...
Cannot determine thread, fp=0xbfe7e8f8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x8072d74
0x826d678
0x81d545f
0x81ac47e
0x81ac8d9
0x81a0120
0x81cee58
0x81ce4de
0x818430a
0x819ce59
0x819592d
0x8197645
0x80cee33
0x80ceec3
0x80cf038
0x80c8a2c
0x80b090f
0x80ad106
0x807f9db
0x8081c45
0x807d173
0x807cbce
0x807c3f8
0x826ae2c
0x82a0cda
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow
instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x8790b80 = delete from access_log where id=10
thd->thread_id=1
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
Number of processes running now: 0
060621 16:45:49 mysqld restarted
060621 16:45:50 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 468847
InnoDB: Doing recovery: scanned up to log sequence number 0 468847
060621 16:45:50 InnoDB: Error: page 7 log sequence number 7 1825556834
|
в чем проблема?
тип таблиц InnoDB.
В одно время вроде у меня получилось справится с этой задачей, но если честно не помню, потому как было сделано многое, а что конкретно помогло не уяснил. Помню выполнил операции, как написано http://dev.mysql.com/doc/refman/5.0/en/using-stack-trace.html(в логах рекомендуют посетить эту страницу для устранения возможной ошибки), вроде это дело и помогло, потому как все удалялось без проблем, но потом надо было сменить файл ibdata1 (менял на такой же из бекапа, то есть тот же файл, до обработки), и сейчас не могу выполнить удаления. Пробовал еще раз выполнить действия описанные в http://dev.mysql.com/doc/refman/5.0/en/using-stack-trace.html - не помогает. Уже и не знаю что делать??
Может кто сталкивался с подобной ситуацией? | |
|
|
|
|
|
|
|
для: mstf
(21.06.2006 в 15:18)
| | никто не сталкивался? | |
|
|
|
|
|
|
|
для: mstf
(21.06.2006 в 15:18)
| | разобрался | |
|
|
|
|
|
|
|
для: mstf
(22.06.2006 в 16:01)
| | Ты расскажи что произошло.
Может и в будущем ктото с этим столкнётся, а твой ответ окажет неоценимую помощь. | |
|
|
|