Have you tried repairing the table?
If that doesn't work, drop and re-create it and then run the rebuild
search index script.
Arthur
arthur(a)assys.net
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Justin Morgan
Sent: 07 September 2006 20:44
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] error 126
Hi all! I'm a new member in this list.
I have a problem with editing a page. Every time I save a page, there
is an error message saying:
***********************
A database query syntax error has occurred. This may indicate a bug in
the software. The last attempted database query was:
(SQL query hidden)
from within function "SearchMySQL4::update". MySQL returned error
"126: Incorrect key file for table './tt-wiki/tt810_searchindex.MYI';
try to repair it (localhost)".