Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-24-2007, 02:51 PM   #1
Subway
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: Here
Posts: 584
MYSQL database corrupt

How can i repair this, is there a neat piece of software for ?
Subway is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 02:54 PM   #2
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
you should have made backups yo, that would have fixed your problem.
i'll search around for you but i haven't ever been able to fix a corrupt dbase yet.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 02:58 PM   #3
interracialtoons
Confirmed User
 
Join Date: May 2006
Posts: 1,910
I didn't know that could happen.

By corrupt, do you mean the actual data or the index to the data?
__________________
Done.
interracialtoons is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:02 PM   #4
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Can you do a mysqldump [db] > textfile.sql ?

Or is it really fucked?

Regardless, here's the MySQL doc on checking databases:

http://dev.mysql.com/doc/refman/5.0/en/repair.html
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:04 PM   #5
Subway
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: Here
Posts: 584
I don't know what or where it's wrong, everything works still fine but when i want to make a backup the admin panel says

Error while backing up database webx555k_blognld
Subway is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:10 PM   #6
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Quote:
Originally Posted by Subway View Post
I don't know what or where it's wrong, everything works still fine but when i want to make a backup the admin panel says

Error while backing up database webx555k_blognld
Have you tried doing a simple export yet?? If the data is still able to be pulled from the database and shown on pages you should be able to export the data fine.

Last edited by Nookster; 02-24-2007 at 03:11 PM..
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:10 PM   #7
Subway
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: Here
Posts: 584
Is there also a way of fixing this by phpmyadmin ?
Subway is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:11 PM   #8
Subway
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: Here
Posts: 584
Quote:
Originally Posted by Nookster View Post
Have you tried doing a simple export yet??
Export doesn't work anymore
Subway is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:49 PM   #9
darling2
Confirmed User
 
Join Date: Jul 2006
Posts: 345
you can use the repair table command.

1. log into your server via ssh.
2. then use the mysql client to connect to the database like:
mysql -uYourUserNAme -pYourPassword YourDatabasename

3. issue this command for every broken table:
repair table YourTableName;

After this all your tables will be fixed and you can export them
darling2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2007, 03:50 PM   #10
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by darling2 View Post
you can use the repair table command.

1. log into your server via ssh.
2. then use the mysql client to connect to the database like:
mysql -uYourUserNAme -pYourPassword YourDatabasename

3. issue this command for every broken table:
repair table YourTableName;

After this all your tables will be fixed and you can export them
Can also be done in phpMyAdmin pretty easily if that's on there.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.