Previous Thread
Next Thread
Print Thread
Hop To
#38598 04/21/2003 6:30 PM
Anonymous
Unregistered
Anonymous
Unregistered
I need a little mySQL help!

My forums aren't working as a result of a mySQL snag. Three of my tables are somehow locked ...or something.... and I can't make head or tail of it, not being a mySQL kind o' guy.

Using "phpMyAdmin", when viewing the main details page for all the tables, some tables indicate "in use" where normally there would be three fields populated with info in the columns "Records", "Type", and "Size".

When I click (from the phpMyAdmin left frame) to look at one of these tables (the "users" table for instance), I get an error message saying: "Can't open file: 'im_Users.MYD'. (errno: 144)".

When I try to Telnet a whole restore, I get "...ERROR 2000 at line 11: Error writing file './db28316e/im_AddressBook.frm' (Errcode: 28)".

My web host has been going though changes and I suspect that's how this happened, and getting through to them is not an option apparently, so I'd appreciate any help.

Thanks!

Joel

#38599 04/21/2003 7:09 PM
Anonymous
Unregistered
Anonymous
Unregistered
That usually has to do with some damaged tables.

Sometimes this happens if you are out of space with your web host. Verify that you aren't over your disk quota.

I would verify that first.

Then you can try running this Query in the SQL section of phpMyAdmin

REPAIR TABLE
w3t_Users


Do that for each table that's corrupt.

But I'm 95% certain that errno: 144 & errcode 28 is related to disk space. If that's the case... once you fix the space issues and repair the tables you should be good to go.

Sometimes you need to do some More Advanced repair functions to get things back on track. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Hope that helps. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Josh
www.joshuapettit.com
ThreadsDev.com Administrator | InfoPop Community Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire for upgrades, tweaks and modifications.

#38600 04/22/2003 1:44 PM
Anonymous
Unregistered
Anonymous
Unregistered
Josh thanks a lot for your help.

It turns out it was beyond repair and I was able to create a new database and use my previous days' backup to get up and running again.

I think the data server crashed right in the middle of either a backup or an "optimize" and corrupted a few tables, rendering the whole thing a mess.

I can't stress the word BACKUP enough, folks! Saved my site!

Thanks again Josh for your excellent help.

Joel


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 541 guests, and 181 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)