<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>World of *Nix &#187; mysql</title>
	<atom:link href="http://www.lavluda.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lavluda.com</link>
	<description>by S. M. Ibrahim (lavluda)</description>
	<lastBuildDate>Mon, 06 Sep 2010 22:15:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Database table repair</title>
		<link>http://www.lavluda.com/2007/08/12/database-table-repair/</link>
		<comments>http://www.lavluda.com/2007/08/12/database-table-repair/#comments</comments>
		<pubDate>Sat, 11 Aug 2007 20:25:00 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/08/12/database-table-repair/</guid>
		<description><![CDATA[Number of View :1753Few minutes ago, one of our mysql database table (it&#8217;s really a big table) was crashed. So to repair this i login that server and excute repair table tablename But the repair process failed, and i got this output. test.t1 &#124; repair &#124; error &#124; 13 when fixing table &#124; &#124; test.t1 [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.lavluda.com%2F2007%2F08%2F12%2Fdatabase-table-repair%2F&amp;text=Database+table+repair&amp;related=lavluda&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.lavluda.com%2F2007%2F08%2F12%2Fdatabase-table-repair%2F"  class="twitter-share-button">Tweet</a></div>Number of View :1753<br/><p>Few minutes ago, one of our mysql database table (it&#8217;s really a big table) was crashed.<br />
So to repair this i login that server and excute </p>
<blockquote><p>repair table tablename</p></blockquote>
<p>But the repair process failed, and i got this output.</p>
<blockquote><p> test.t1 | repair | error | 13 when fixing table |<br />
| test.t1 | repair | status | Operation failed |
</p></blockquote>
<p>Then i start searching on google. After passing some time i found the reason. Mysql can&#8217;t repair that table as there is a trigger on this table. So i tried to drop the trigger </p>
<blockquote><p>drop trigger triggername</p></blockquote>
<p>no luck, mysql can&#8217;t drop the trigger, as the table was crashed <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Now i studied more and more. At last i got the solution <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>REPAIR TABLE tablename USE_FRM</p></blockquote>
<p>Now the table repair complete successfully. Thanks to Allah as i got the solution in time:)</p>
<img src="http://www.lavluda.com/?ak_action=api_record_view&id=101&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/08/12/database-table-repair/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.523 seconds -->
