Web Design and Development Forums

MySQL corruption

This is a discussion on "MySQL corruption" within the MySQL section. This forum, and the thread "MySQL corruption are both part of the Databases category.


Go Back   Webforumz.com > Databases > MySQL

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Mar 22nd, 2008, 17:35   #1 (permalink)
New Member
 
Join Date: Feb 2008
Location: Leicester, UK
Age: 22
Posts: 2
MySQL corruption

This morning, I find that the database on one of my websites is causing problems. Long story short, it's corrupt. From what I gather this would be due to hardware problem on the host.... I'm annoyed, but won't go blaming them yet.

Anyway, according to the host, backups are daily, but are overwritten daily (now we're in trouble)... so we tried to restore the old database, but no joy... took the site totally offline. Ended up putting back the one from earlier, so we have a site which shows database errors all over it.

Now, using phpMyAdmin, I can see 71 tables in the database, but when I go to export them, I just get some HTML/Java and errors. Using MySQL, I can see the the database size as 0.91mb (might be alright). However, I take a backup using cPanel, and the database I get just shows the following:

Code: Select all
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
Nothing else (ie, no content).

I have an old backup from September which I am reluctent to use, but comparing them, there's a fair bit missing.

So I suppose my main question is, is it possible to repair the current one? I have tried the Check and Repair options in MySQL within cPanel.

And yes, I have learnt that I should take regular backups, but in my defense, I thought the host would have more than a day's worth... at very least a week.

Thanks
RudeYute is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CHKDSK /f CORRUPTION MetallicWarfare Webforumz Cafe 13 Jan 7th, 2008 05:47
MySQL Freelancer MySQL 3 Nov 13th, 2006 08:55
ASP and MYSQL QuikFrozen ASP Forum 3 Aug 16th, 2006 17:58
mysql djme MSSQL & Access 1 Nov 26th, 2005 14:37



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 06:28.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59