i upgraded from mysql 4.0 to mysql 4.1, and the error message got
clearer. the reason was an inconsistent index table, which can be
fixed with
mysql> repair table searchindex;
-solo
On 4/14/05, solo turn <soloturn(a)gmail.com> wrote:
hi,
with mediawiki 1.4.0 we get the following error:
REPLACE INTO `projsearchindex` (si_page,si_title,si_text) VALUES
('960','kenta',' -- start infobox project -- infobox project
projectname
...
<... three pages of text not pasted here ..>
...
from within function "SearchUpdate::doUpdate". MySQL returned error
"1062: Duplicate entry ' ' for key 3 (localhost)".
the text gets anyway stored in the database. how can we prevent this?
can it be that the string is too long?
-solo.