Mutt
03-22-2003, 02:30 PM
My DB went to ++++. Reapir wouldn't work becaue the user tabel and template table were effected. I modified repair so that it doesn't require global.php and it was able to handle fixing those tables. Everything is squared away now except the post table. Normally if you run repair a couple times it will straighten it out, but not this time. I've gotten the identical error evey time I've run it.
Checking table post
Table Operation Type Text
sfn2_com.post check warning Table is marked as crashed and last repair failed
sfn2_com.post check warning Size of indexfile is: 6439936 Should be: 5237760
sfn2_com.post check warning Size of datafile is: 50902104 Should be: 50870472
sfn2_com.post check error Found 131607 keys of 60786
sfn2_com.post check error Corrupt
Repairing table post
sfn2_com.post repair error 122 when fixing table
I know the answer is to resore from a backup, but I don't have a recent one. :( I even modified repair so you can set the table you want it to fix instead of fixing them all so It would just hammer the post table, but the error message and the numbers haven't changed at all.
are there other tools out there? Has anyone made other mods to repair that might help?
I've tried repairing post from phpmyadim, same error. I checked vb.com and found this
"Once mysql is shut down run this command in shell/telnet/ssh: myisamchk -r -u root -p sfn2_com"
and tried it, but myisamchk didn't recognize -u or -p. if I remove those options, it didn't find sfn2_com ?!?!?!? I think this might able to fix it if I could only get it working. If anyone has anysuggestions about running it, please let me know.
I don't want to lose my posts and I don't want the site to be down any longer. I'm desprately looking fro a solution
thanks in advance for any help or suggestions
Checking table post
Table Operation Type Text
sfn2_com.post check warning Table is marked as crashed and last repair failed
sfn2_com.post check warning Size of indexfile is: 6439936 Should be: 5237760
sfn2_com.post check warning Size of datafile is: 50902104 Should be: 50870472
sfn2_com.post check error Found 131607 keys of 60786
sfn2_com.post check error Corrupt
Repairing table post
sfn2_com.post repair error 122 when fixing table
I know the answer is to resore from a backup, but I don't have a recent one. :( I even modified repair so you can set the table you want it to fix instead of fixing them all so It would just hammer the post table, but the error message and the numbers haven't changed at all.
are there other tools out there? Has anyone made other mods to repair that might help?
I've tried repairing post from phpmyadim, same error. I checked vb.com and found this
"Once mysql is shut down run this command in shell/telnet/ssh: myisamchk -r -u root -p sfn2_com"
and tried it, but myisamchk didn't recognize -u or -p. if I remove those options, it didn't find sfn2_com ?!?!?!? I think this might able to fix it if I could only get it working. If anyone has anysuggestions about running it, please let me know.
I don't want to lose my posts and I don't want the site to be down any longer. I'm desprately looking fro a solution
thanks in advance for any help or suggestions