Aaron1
01-30-2003, 04:53 AM
After optimizing the tables in PHPMYADMIN, i have got a serious error in my 'attachment' table. I tried "Repair table Attachment" with phpmydmin and i also tried to repair it with the suplied repair.php file in the extras folder, but no luck sofar.
Is there still a way to repair it, or to recreate it?
Here's the error that Vbulletin gave me:
---------
Database error in vBulletin 2.2.7:
Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,13598,13606,13610,13616,13695,13697,13871)
ORDER BY dateline
mysql error: Can't open file: 'attachment.MYD'. (errno: 144)
mysql error number: 1016
Date: Thursday 30th of January 2003 07:38:26 AM
Script: http://www.housequake.com/forum/forum/showthread.php?s=&threadid=2153
Referer: http://www.housequake.com/forum/forumdisplay.php?s=&forumid=12
-----------
And here's the result using the repair.php:
-----------
housequake.attachment check warning Table is marked as crashed and last repair failed
housequake.attachment check warning 1 clients is using or hasn't closed the table properly
housequake.attachment check error Found 73 keys of 72
housequake.attachment check error Corrupt
Repairing table attachment
housequake.attachment repair error 122 when writing to datafile
mysql error: Can't open file: 'attachment.MYD'. (errno: 144)
mysql error number: 1016
-----------
I very much hope somebody can help me out...
Is there still a way to repair it, or to recreate it?
Here's the error that Vbulletin gave me:
---------
Database error in vBulletin 2.2.7:
Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,13598,13606,13610,13616,13695,13697,13871)
ORDER BY dateline
mysql error: Can't open file: 'attachment.MYD'. (errno: 144)
mysql error number: 1016
Date: Thursday 30th of January 2003 07:38:26 AM
Script: http://www.housequake.com/forum/forum/showthread.php?s=&threadid=2153
Referer: http://www.housequake.com/forum/forumdisplay.php?s=&forumid=12
-----------
And here's the result using the repair.php:
-----------
housequake.attachment check warning Table is marked as crashed and last repair failed
housequake.attachment check warning 1 clients is using or hasn't closed the table properly
housequake.attachment check error Found 73 keys of 72
housequake.attachment check error Corrupt
Repairing table attachment
housequake.attachment repair error 122 when writing to datafile
mysql error: Can't open file: 'attachment.MYD'. (errno: 144)
mysql error number: 1016
-----------
I very much hope somebody can help me out...