visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: corrupt table repair


By: michaeltegler U.S.A.  Date: 02/08/2003 00:00:00  English  Points: 500 Status: Answered
Quality : Excellent
i've got a corrupt table and reading the mysql docs suggests that i can repair the table with myisamchk. however using ssh to run this command it says that the table doesn't exist.

if there's an easier way please let me know. already tried phpmysqladmin several time it can't repair the table.
By: wskoczen Date: 02/08/2003 04:01:00 English  Type : Comment
if your version is > 4.0.2, try to use REPAIR TABLE tbl_name[,tbl_name...] [QUICK] [EXTENDED] USE_FRM
mysql will use .frm file to recreate the table; try it with option quick and then extended eventualy.
Good Luck
Wesley
By: michaeltegler Date: 02/08/2003 06:02:00 English  Type : Comment
running MySQL 3.23.56
By: VGR Date: 03/08/2003 19:17:00 English  Type : Answer
1) forget completely about "phpmysqladmin", it's total crap
2) ssh shouldn't prevent you from doing :
-connection via sshd( like with telnetd)
-mysql --user=root --password=...
-use yourdatabase;
repair table yourtable;

OR with myisamchk
-follow the online documentation ; usually ytou just have to make sure you give it the correct FULLPATH or the table to analyse & repair, OR that you're in the correzct directory already :

-cd %datadir% (you've to know where are the databases)
By: VGR Date: 03/10/2010 10:34:53 English  Type : Comment
also, see [url=http://www.europeanexperts.org/question/TOUTES/ZONES/1342.html]this thread[/url]

Do register to be able to answer

EContact
browser fav
page generated in 295.403000 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page