Register Advertise with usHelp Desk Today's Posts Search

Thread Tools Search this Thread
Unread 29th Nov 2017, 05:20 AM   #1
Warrior Member
 
Join Date: 2017
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Corrupt SQL file how to restore?
Share on: 
fb share twitter share gplus share more share

why this error occurs? like and failure was not, and cleaning the antivirus.
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
FROM vb_thread AS thread
LEFT JOIN vb_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vb_subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN vb_post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN vb_threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
WHERE thread.threadid IN (0,9839,6392,6391,1981,1473,88,1375)
ORDER BY sticky DESC, lastpost DESC;
SQL Error : Table './klon/vb_post' is marked as crashed and should be repaired
Error Number : 145
IP Address : 90.188.220.91
Username : xD
Classname : vB_Database
SQL Version : 5.1.54
slaphead is offline   Reply With Quote
Unread 4th Dec 2017, 09:43 AM   #2
Warrior Member
 
Join Date: 2017
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default
RE: Corrupt SQL file how to restore?
Share on: 
fb share twitter share gplus share more share

use repair option in phpmyadmin
xossipblogcom is offline   Reply With Quote
The Following User Says Thank You to xossipblogcom For This Useful Post:
Unread 5th Dec 2017, 03:02 PM   #3
Warrior Member
 
Join Date: 2017
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default
RE: Corrupt SQL file how to restore?
Share on: 
fb share twitter share gplus share more share

If the problem is "marked as crashed," then proceed with the steps listed below:
  1. Go to MySQL Databases.
  2. Under Modify Databases, look for the drop-down called Repair DB.
  3. Select the database name which is having trouble.
  4. Click the Repair DB button.
If you managing the server I would suggest you to check the file-system as such crashes appear often due to hardware malfunctioning.
If it is the server managed by the hosting provider you'll better ask them to assist.
LiamTrevor is offline   Reply With Quote


Bookmarks

Tags
corrupt, file, restore, sql


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:09 AM.