Jump to content

Recommended Posts

Does anyone know if I can fix this error or if I have to redo the databases? This is from an invision board I have (and I really don\'t want to have to reinstall it as for various reasons this will be the 4th reinstall in a month and my members are getting peeved...)

 

mySQL query error: SELECT COUNT(tid) as max FROM ibf_topics WHERE forum_id=\'8\' and approved=\'1\' and (last_post > 0 or pinned=1)  

 

mySQL error: Can\'t open file: \'ibf_topics.MYI\'. (errno: 145)  

mySQL error code: 1016  

Date: Thursday 24th of April 2003 07:24:40 AM

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/387-sql-error/
Share on other sites

Thank you. I use phpmyadmin and I\'m a bit of a newbie. I couldn\'t find a data directory or hostname.err but I found the ibf_topics table in phpmyadmin and ran the check on it and got 2 warnings and 2 errors:

 

warning - Table is marked as crashed

warning - Not used space is supposed to be: 20 but is: 0

error - record delete-link-chain corrupted

error - Corrupt

 

I can\'t get properties on the table at all - I get the error:

Can\'t open file: \'ibf_topics.MYI\'. (errno: 145)

 

And on the database list of tables it\'s got \"in use\" where it should have Records, Type and Size info. Insert, Properties and Drop are clickable but the first two bring up the error above and I\'ve not tried the last one.

 

:D Woohoo! I just asked it to repair the table and it did! That is the first thing to go right in 2 months! I\'ve left the info I\'d already written in case someone else had the same problem. Thanks for your help!

Link to comment
https://forums.phpfreaks.com/topic/387-sql-error/#findComment-1319
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.