2010-12-23 1 views
0

Les fichiers de la base de données mysql se trouvent dans une partition. mysql soudainement indisponible parce que la partition complète 100%Disque plein, crash de la table ... quelle est la bonne façon de réparer sans phpmyadmin

alors je supprime d'autres fichiers et démarre mysql.

tout va bien mais quand parcourir mon site, il y a un message me disant que la table ./k1/cache_filter est marqué comme écrasé:

* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:5798c3c8b649979ac97799d5bbf9fbc5' in /home/www/html/www.mysite.com/includes/cache.inc on line 26. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<form name=\"form1\">\n<select style=\"font-size:12px;color:#8BAB6B;font-family:verdana;background-color:#ffffff;\" name=\"menu\">\n<option value=\"#\">----Submit----</option>\n<option value=\"http://www.mysite.com/node/add/komputer\">Trik</option>\n<option value=\"http://www.mysite.com/node/add/forum\">Forum</option>\n<option value=\"http://www.mysite.com/node/add/freebies\">Freebies</option>\n</select>\n<input style=\"font-size:12px;color:#ffffff;font-family:verdana;background-color:#A7CE80;\" type=\"button\" onClick=\"location=document.form1.menu.options[document.form1.menu.selectedIndex].value;\" value=\"Go\">\n</form>\n\n<div style=\"text-align: center;\"><a href=\"http://www.mysite.com/user\">&#8226; Login | Register &#8226;<br>&#8226; My Account &#8226;</a></div>', created = 1293070347, expire = 1293156747, headers = '', serialized = 0 WHERE cid = '3:5798c3c8b649979ac97799d5bbf9fbc5' in /home/www/html/www.mysite.com/includes/cache.inc on line 109. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:211aa9fdb9976e821c3a565826a36d16' in /home/www/html/www.mysite.com/includes/cache.inc on line 26. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p align=\"center\"><script type=\"text/javascript\"><!--\ngoogle_ad_client = \"pub-8495709850146104\";\n/* eyecandy2u 160x600, created 7/10/09 */\ngoogle_ad_slot = \"1295348390\";\ngoogle_ad_width = 160;\ngoogle_ad_height = 600;\n//-->\n</script>\n<script type=\"text/javascript\"\nsrc=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script></p>', created = 1293070347, expire = 1293156747, headers = '', serialized = 0 WHERE cid = '3:211aa9fdb9976e821c3a565826a36d16' in /home/www/html/www.mysite.com/includes/cache.inc on line 109. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:a347380abe409e26d216f14e039e66d2' in /home/www/html/www.mysite.com/includes/cache.inc on line 26. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<a href=\"http://www.mysite.com/artikel/all\"><img src=\"http://img.nattawat.org/images/1wdfaq3zl5cf7czjprb9.png\"></a>', created = 1293070347, expire = 1293156747, headers = '', serialized = 0 WHERE cid = '3:a347380abe409e26d216f14e039e66d2' in /home/www/html/www.mysite.com/includes/cache.inc on line 109. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:5636feaceb0a27ee732eaf45616989c8' in /home/www/html/www.mysite.com/includes/cache.inc on line 26. 
* user warning: Table './k1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<!-- BEGIN STANDARD TAG - 728 x 90 - ROS: Run-of-site - DO NOT MODIFY -->\n<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=728 HEIGHT=90 SRC=\"http://ad.globe7.com/st?ad_type=iframe&ad_size=728x90&section=417236\"></IFRAME>\n<!-- END TAG -->', created = 1293070347, expire = 1293156747, headers = '', serialized = 0 WHERE cid = '3:5636feaceb0a27ee732eaf45616989c8' in /home/www/html/www.mysite.com/includes/cache.inc on line 109. 

Ce site est drupal. Previuosly J'utilise phpmyadmin.

Mais maintenant, j'essaie de vivre sans phpmyadmin

donc, quelle est la bonne façon de réparer sans phpmyadmin

+0

pas la réponse que vous voulez - mais avez-vous une sauvegarde que vous pouvez restaurer? – scunliffe

+0

oui j'ai .. mais la sauvegarde est périmée (dernière semaine) – Captain

Répondre

2

Avez-vous regardé REPAIR TABLE cache_filter

http://dev.mysql.com/doc/refman/5.1/en/repair-table.html

+0

'ERREUR 1046 (3D000): Aucune base de données sélectionnée' (J'ai beaucoup de base de données drupal dans le serveur) – Captain

+0

' USE DATABASE k1' - en supposant que votre nom de base de données est k1 –

Questions connexes