That usually means the table is corrupt beyond repair and nothing is really
fixing it or there is something one cannot easily comprehend ( this usually
happens with inconsistency among deleted records and some kind of mismatch
that occurs) -----anyway what I would really advice in this case is to
rebuild the table from a working/clean backup and start-over, if this is a
slave then thats very easy to do, if not it depends on your latest clean
backup available ..

Just my 2c

Kishore Jalleda


On 3/29/06, Sander Smeenk <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I'm having a weird problem i'd like to hear your opinions about:
>
> | [18:44] [EMAIL PROTECTED]:~] # mysqlcheck v games
> | v.games
> | error    : Table './v/games' is marked as crashed and should be repaired
> | [18:44] [EMAIL PROTECTED]:~] # mysqlcheck -r v games
> | v.games                                            OK
> | [18:44] [EMAIL PROTECTED]:~] # mysqlcheck v games
> | v.games
> | error    : Key in wrong position at page 108544
> | error    : Corrupt
> | [18:45] [EMAIL PROTECTED]:~] # mysqlcheck -f -r v games
> | v.games                                            OK
> | [18:45] [EMAIL PROTECTED]:~] # mysqlcheck v games
> | v.games
> | error    : Key in wrong position at page 108544
> | error    : Corrupt
> | [18:45] [EMAIL PROTECTED]:~] # /etc/init.d/mysql stop
> | Stopping MySQL database server: mysqld.
> | [18:45] [EMAIL PROTECTED]:~] # cd /var/lib/mysql/v
> | [18:45] [EMAIL PROTECTED]:/var/lib/mysql/v] # myisamchk -r games.MYI
> | - recovering (with sort) MyISAM-table 'games.MYI'
> | Data records: 10644
> | - Fixing index 1
> | - Fixing index 2
> | [18:48] [EMAIL PROTECTED]:/var/lib/mysql/v] # echo "REPAIR TABLE games" |
> mysql v
> | Table   Op      Msg_type        Msg_text
> | v.games repair  status  OK
> | [18:48] [EMAIL PROTECTED]:/var/lib/mysql/v] # myisamchk games.MYI
> | Checking MyISAM file: games.MYI
> | Data records:   10644   Deleted blocks:       0
> | - check file-size
> | - check record delete-chain
> | - check key delete-chain
> | - check index reference
> | - check data record references index: 1
> | - check data record references index: 2
> | myisamchk: error: Key in wrong position at page 108544
> | - check record links
> | myisamchk: error: Keypointers and record positions doesn't match
> | MyISAM-table 'games.MYI' is corrupted
> | Fix it using switch "-r" or "-o"
> | [1]    17564 exit 255   myisamchk games.MYI
>
> No matter WHAT i try, fixing with 'repair table' using mysqlcheck,
> myisamchk, -o, -r, -f, it seems like i can't repair this table.
>
> So what's going on? Does anyone have any clue?
>
> Regards,
> Sander.
> --
> | Honk if you love peace and quiet.
> | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>
>

Reply via email to