<?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>Linux Windows System Administrator Help &#187; repair</title>
	<atom:link href="http://linuxwindowsmaster.com/tag/repair/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxwindowsmaster.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 19:54:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How do you repair a corrupt MySQL table?</title>
		<link>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table-2/</link>
		<comments>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table-2/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 16:41:28 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[.frm]]></category>
		<category><![CDATA[Can’t find file: ‘tbl_name’ (errno: 2)]]></category>
		<category><![CDATA[isamchk]]></category>
		<category><![CDATA[myisamchk]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[tbl_ name]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=139</guid>
		<description><![CDATA[Hello, Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open If you get either of the following errors, it usually means that no table exists in the current database with the given name: Table ‘tbl_name’ doesn’t exist Can’t find file: ‘tbl_name’ (errno: 2) A ) In some cases, it may be that the table does [...]]]></description>
			<content:encoded><![CDATA[<div class="entry font-resize">
<p>Hello,</p>
<p><strong>Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open</strong></p>
<p>If you get either of the following errors, it usually means that no table exists in the current database with the given name:</p>
<p>Table ‘tbl_name’ doesn’t exist</p>
<p>Can’t find file: ‘tbl_name’ (errno: 2)</p>
<p><strong>A ) In some cases, it may be that the table does exist but that you are referring to it incorrectly:</strong></p>
<p>Because MySQL uses directories and files to store databases and tables, database and table names are case sensitive if they are located on a file system that has case-sensitive filenames.Even for file systems that are not case sensitive, such as on Windows, all references to a given table within a query must use the same letter case.</p>
<p><strong>B ) In some cases, it may be that the table exist but same error occurs then</strong></p>
<p><strong>1 ) </strong>Check the permission and ownership of database i.e. it should be same below</p>
<p>drwx—— 2 mysql mysql cpanelusername_dbname.</p>
<p><strong>2) </strong>If the permission are corrects but same error occurs then it seems that your database table may be corrupts then there are following way to repair the DB</p>
<p><strong>a)</strong> Go to whm &gt;&gt;SQL Services &gt;&gt; Repair a Database &gt;&gt; select database name and click Repair Database.</p>
<p><strong>b)</strong> Go to cpanel &gt;&gt; mysql section MySQL Account Maintenance &gt;&gt; search database then click on Repair.</p>
<p><strong>C) You can repair it though shell when mysqld server is running</strong></p>
<p><strong>i)</strong> login in mysql to that particular user by using following command</p>
<pre><strong>mysql&gt;mysql –u databaseusername –p databasename</strong></pre>
<p><strong>ii)</strong> select particular database</p>
<pre><strong>mysql&gt; use databasename;</strong></pre>
<p><strong>iii)</strong> Check whether database table is corrupted or not if following command output shows null value then it should be corrupts otherwise it is fine</p>
<pre><strong>mysql&gt;show table status like ‘table name’\G; Or
mysql&gt;check table tablename ;</strong></pre>
<p><strong>iv)</strong>If it is corrupts then use the following command to repair that particular database table.</p>
<pre><strong>mysql&gt;repair table tablename;</strong></pre>
<p><strong>D] You can repair it though shell when mysqld server is not running</strong></p>
<p>Repairing MyISAM mySQL Tables/Databases:</p>
<pre><strong># cd /var/lib/mysql/DBNAME</strong>

<strong># myisamchk tablename.MYI</strong></pre>
<p>Repairing ISAM mySQL Tables/Databases:</p>
<pre><strong># cd /var/lib/mysql/DBNAME
isamchk tablename.MYI</strong></pre>
<p><strong>where</strong></p>
<p><strong>-c</strong> –&gt; check database is corrupted or not<br />
<strong>-r</strong> –&gt; recorver<br />
<strong>-o </strong>–&gt; optimise the database</p>
<p>Regards</p>
<p>Alex P</p></div>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table-2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How do you repair a corrupt MySQL table?</title>
		<link>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table/</link>
		<comments>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 16:12:45 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[isamchk]]></category>
		<category><![CDATA[MyISAM]]></category>
		<category><![CDATA[myisamchk]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[Table]]></category>
		<category><![CDATA[tbl_name]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=91</guid>
		<description><![CDATA[Hello, Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open If you get either of the following errors, it usually means that no table exists in the current database with the given name: Table ‘tbl_name’ doesn’t exist Can’t find file: ‘tbl_name’ (errno: 2) A ) In some cases, it may be that the table does [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p><strong>Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open</strong></p>
<p>If you get either of the following errors, it usually means that no table exists in the current database with the given name:</p>
<p><strong>Table ‘tbl_name’ doesn’t exist</strong></p>
<p><strong>Can’t find file: ‘tbl_name’ (errno: 2)</strong></p>
<p>A ) In some cases, it may be that the table does exist but that you are referring to it incorrectly:</p>
<p>Because <strong>MySQL</strong> uses directories and files to store databases and tables, database and table names are case sensitive if they are located on a file system that has case-sensitive <strong>filenames</strong>.</p>
<p>Even for file systems that are not case sensitive, such as on Windows, all references to a given table within a query must use the same letter case.</p>
<p>B ) In some cases, it may be that the table exist but same error occurs then</p>
<p>1 ) Check the <strong>permission and ownership </strong>of database i.e. it should be same below</p>
<p><strong>drwx—— 2 mysql mysql cpanelusername_dbname.</strong></p>
<p>2) If the permission are corrects but same error occurs then it seems that your database table may be corrupts then there are following way to repair the DB</p>
<p>a) Go to <strong>whm &gt;&gt;SQL Services &gt;&gt; Repair a Database &gt;&gt; select database name and click Repair Database</strong>.</p>
<p>b) Go to <strong>cpanel &gt;&gt; mysql section MySQL Account Maintenance &gt;&gt; search database then click on Repair</strong>.</p>
<p>C) You can repair it though shell when mysqld server is running</p>
<p>i) login in mysql to that particular user by using following command</p>
<p><strong>mysql&gt;mysql –u databaseusername –p databasename</strong></p>
<p>ii) select particular database</p>
<p><strong>mysql&gt; use databasename;</strong></p>
<p>iii) Check whether database table is corrupted or not if following command output shows null value then it should be corrupts otherwise it is fine</p>
<p><strong>mysql&gt;show table status like ‘table name’\G; Or</strong><br />
mysql&gt;<strong>check table tablename ;</strong></p>
<p>iv)If it is corrupts then use the following command to repair that particular database table.</p>
<p><strong>mysql&gt;repair table tablename;</strong></p>
<p>D] You can repair it though shell when mysqld server is not running</p>
<p><strong>Repairing MyISAM mySQL Tables/Databases:</strong></p>
<p>#<strong> cd /var/lib/mysql/DBNAME</strong></p>
<p># <strong>myisamchk tablename.MYI</strong></p>
<p>Repairing ISAM mySQL Tables/Databases:</p>
<p># <strong>cd /var/lib/mysql/DBNAME</strong><br />
<strong>isamchk tablename.MYI</strong><br />
<strong>where</strong></p>
<p><strong>-c –&gt; check database is corrupted or not<br />
-r –&gt; recorver<br />
-o –&gt; optimise the database</strong></p>
<p>Enjoy&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..:D</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-do-you-repair-a-corrupt-mysql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

