







|
MySQL.RU - Webboard
Вернуться
table crashed (Nickolay) 13/02/2003 - 17:37:00
Re: table crashed (Егор Егоров) 13/02/2003 - 19:42:32
> Original message text:
> From: Nickolay - 13/02/2003 - 17:37:00
> Subject:table crashed
> -----------------
> Здравствуйте все
> случилась у знакомого бяка:
> перегрузили машину подвисшую и навернулась база
> все таблицы кроме одной полечились с помощью:
> myisamchk -r ..\data\base\answer (и т.п.)
> но вот с одной затык:
> C:\mysql\bin>myisamchk -o ..\data\base\firms
> - recovering (with keycache) MyISAM-table '..\data\base\firms.MYI'
> Data records: 159
> myisamchk: error: Can't create new tempfile: '..\data\base\firms.TMD'
> MyISAM-table '..\data\base\firms' is not fixed because of errors
> Try fixing it by using the --safe-recover (-o) or the --force (-f) option
>
> C:\mysql\bin>myisamchk -f ..\data\tvweek\firms
> Checking MyISAM file: ..\data\tvweek\firms
> Data records: 159 Deleted blocks: 0
> myisamchk: warning: Table is marked as crashed and last repair failed
> - check file-size
> myisamchk: warning: Size of datafile is: 27192 Should be: 26788
> - check key delete-chain
> - check record delete-chain
> - check index reference
> - check data record references index: 1
> - check record links
> myisamchk: error: got error: 127 when reading datafile at record: 145
> - recovering (with sort) MyISAM-table '..\data\base\firms.MYI'
> Data records: 159
> - Fixing index 1
> Found link that points at 27192 (outside data file) at 24952
> myisamchk: Error on delete of '..\data\tvweek\firms.MYD' (Errcode: 13)
> myisamchk: error: 13 when fixing table
> MyISAM-table '..\data\tvweek\firms' is not fixed because of errors
> Try fixing it by using the --safe-recover (-o) or the --force (-f) option
>
>
From: Егор Егоров - 13/02/2003 - 19:42:32
Subject:table crashed
-----------------
прав нет на переписывание MYD файла, ошибка 13.
Fix that.
// Egor Egorov, Ensita.NET/MySQL AB
[Это сообщение - спам!]
Последние сообщения из форума
Уважаемые посетители форума MySQL.RU!
Убедительная просьба, прежде чем задавать свой вопрос в этом форуме, обратите внимание на разделы:
- ответы на наиболее часто задаваемые вопросы - FAQ
- раздел документация
- раздел поиск по сообщениям форума и документации
Также, старайтесь наиболее подробно указывать свою ситуацию (версию операционной системы, версию MySQL,
версию программного обеспечения, по которому возникает вопрос, текст возникающих ошибок, и др.)
Помните, чем конкретнее Вы опишете ситуацию, тем больше шансов получить реальную помощь.
6720
|
|