enimal_partizani
.fusion_users
<?php
$result = dbquery("REPAIR TABLE ".DB_NEWS);
?>
Quote
Error
SQL query: Edit
SHOW INDEX FROMfusion_users
;
MySQL said:
#1194 - Table 'fusion_users' is marked as crashed and should be repaired
<?php
$i=array();
$a=array(
'REPAIR TABLE fusion_admin',
'REPAIR TABLE fusion_article_cats',
'REPAIR TABLE fusion_articles',
'REPAIR TABLE fusion_bbcodes',
'REPAIR TABLE fusion_blacklist',
'REPAIR TABLE fusion_captcha',
'REPAIR TABLE fusion_comments',
'REPAIR TABLE fusion_custom_pages',
'REPAIR TABLE fusion_download_cats',
'REPAIR TABLE fusion_downloads',
'REPAIR TABLE fusion_faq_cats',
'REPAIR TABLE fusion_faqs',
'REPAIR TABLE fusion_flood_control',
'REPAIR TABLE fusion_forum_attachments',
'REPAIR TABLE fusion_forum_poll_options',
'REPAIR TABLE fusion_forum_poll_voters',
'REPAIR TABLE fusion_forum_polls',
'REPAIR TABLE fusion_forum_ranks',
'REPAIR TABLE fusion_forums',
'REPAIR TABLE fusion_infusions',
'REPAIR TABLE fusion_messages',
'REPAIR TABLE fusion_messages_options',
'REPAIR TABLE fusion_new_users',
'REPAIR TABLE fusion_news',
'REPAIR TABLE fusion_news_cats',
'REPAIR TABLE fusion_online',
'REPAIR TABLE fusion_panels',
'REPAIR TABLE fusion_photo_albums',
'REPAIR TABLE fusion_photos',
'REPAIR TABLE fusion_poll_votes',
'REPAIR TABLE fusion_polls',
'REPAIR TABLE fusion_posts',
'REPAIR TABLE fusion_ratings',
'REPAIR TABLE fusion_settings',
'REPAIR TABLE fusion_shoutbox',
'REPAIR TABLE fusion_site_links',
'REPAIR TABLE fusion_smileys',
'REPAIR TABLE fusion_submissions',
'REPAIR TABLE fusion_thread_notify',
'REPAIR TABLE fusion_threads',
'REPAIR TABLE fusion_user_fields',
'REPAIR TABLE fusion_user_groups',
'REPAIR TABLE fusion_users',
'REPAIR TABLE fusion_weblink_cats',
'REPAIR TABLE fusion_weblinks');
include 'config.php';
$c=@mysql_connect($db_host, $db_user, $db_pass);
$s=@mysql_select_db($db_name);
if($c&&$s){echo 'succesfully connected<br>';}else{echo 'failed to establish mysql connection';die;}
foreach($a as $v){if(!mysql_query($v)){$i[]='failed to execute '.$v;}}
mysql_close();
if(count($i)){echo 'ERROR'.'<br>';foreach ($i as $v){echo $v.'<br>';}}else{echo 'SUCCESFULLY RELEARED ALL TABLES!';}
?>
Category Forum
Content Administration - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions