?
Solved

Fix corrupt mySQL 4.1 database

Posted on 2011-02-15
2
Medium Priority
?
459 Views
Last Modified: 2012-05-11
Hi, I have an install of mySQL4.1 and the mySQL service keeps stopping after a minute or so.

If I cut and paste a particular database out of the data folder, the mySQL service starts without issue.

How can I repair this corrupt database?
0
Comment
Question by:Tech Man
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Expert Comment

by:Umesh
ID: 34904188
Hi!

Please post the error log and config file(make sure you hide all IP/Password related info from config file)
0
 
LVL 1

Accepted Solution

by:
DokKlaus earned 2000 total points
ID: 34904299
you can use the mysqlcheck & mysqlrepair functions included in mysql.
here is the doc page for mysql 4.1 repair http://dev.mysql.com/doc/refman/4.1/en/repair-table.html 
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question