Quantcast
Welcome to PHP-Nuke   Professional Content Management System - Official Website
 the future of the web...


  Main Menu
· Home
· AvantGo
· Club
· Commercial License
· Community
· Downloads
· FAQ
· Feedback
· PHP-Nuke 8.1
· PHP-Nuke_HOWTO
· Private_Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Top
· Topics
· Your_Account
· Downloads

  Who is Online
There are currently, 390 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here


MySQL errno: 145: Can't open file nuke_XXXX.MYI

3.10.2. MySQL errno: 145: Can't open file nuke_XXXX.MYI

If suddenly you get an error like:

Could not insert new word matches
DEBUG MODE
SQL Error : 1016 Can't open file: 'nuke_bbsearch_wordmatch.MYI'. (errno: 145)
INSERT INTO nuke_bbsearch_wordmatch (post_id, word_id, title_match) 
SELECT 4467, word_id, 0 FROM nuke_bbsearch_wordlist WHERE word_text IN ('testing')
Line : 282
File : /xxxx/xxxx/public_html/nuke/includes/functions_search.php

then you will know that your MySQL database has been corrupted. In the above example, the nuke_bbsearch_wordmatch table is damaged (see MySQL errno: 145 Can't open file nuke bbsearch wordmatch.MYI).

Solution: Enter the MySQL prompt from the shell:

mysql -u dbuname -h dbhost -p dbname;

where dbuname, dbhost and dbname are exactly the same as in your config.php (Section 3.7) - you will also be prompted for your password, which must also be the same as in config.php - and try the REPAIR TABLE command:

repair table nuke_bbsearch_wordmatch;

You can also try from the shell command-line the myisamchl utility:

myisamchk -r nuke_bbsearch_wordmatch

See Section 26.1 on how to repair corrupt tables.


HomepageYour AccountSubmit NewsDownloadsOnline ManualCommunityCLUB Commercial License F.A.Q.
© 2000-2006 by PHPNuke.org. All Rights Reserved.
Website engine code is © copyright by PHP-Nuke.
PHP-Nuke is a free software released under the GNU/GPL
All the comments are property of their posters.
Images, logo, content and design are © copyright by PHPNuke.org. All Rights Reserved.
Powered by PHP-Nuke