<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Incorrect information in file: ' '...]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=790&amp;type=atom" />
	<updated>2008-06-13T22:35:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=790</id>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5344#p5344" />
			<content type="html"><![CDATA[<p><img src="https://forum.php-myadmin.ru/img/smilies/sad.png" width="15" height="15" alt="sad" />.Ну что же тему можно CLOSE.Пришлось по старинке старым бекапом=(</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-06-13T22:35:29Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5344#p5344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5218#p5218" />
			<content type="html"><![CDATA[<p><strong>Curt</strong><br />Больше идей нет.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-28T21:33:23Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5218#p5218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5217#p5217" />
			<content type="html"><![CDATA[<p>Всё делаю чётко по вашим инструкицям.После Repair table `tbl_name` Use_Frm;<br />Размер myd становится 0 байт,при этом ни каких ошибок.Статус Ок в phpmyadmin.<br />У вас есть хоть какие нибудь предположения,что могло поломаться что бы MySQL вот так действовала?</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-28T20:32:13Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5217#p5217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5205#p5205" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Curt сказал:</cite><blockquote><p>Это Repair table `tbl_name` use_frm?</p></blockquote></div><p>Да.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-27T21:09:29Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5205#p5205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5202#p5202" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>) После, запустите сервис MySQL и выполните запрос на обновление индексов.</p></blockquote></div><p>Это Repair table `tbl_name` use_frm?</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-27T15:23:59Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5202#p5202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5196#p5196" />
			<content type="html"><![CDATA[<p><strong>Curt</strong><br />1) Создайте пустую таблицу с аналогичной структурой.<br />2) Отключите сервис MySQL в службах - Control Panel -&gt; Administrative Tools -&gt; Services.<br />3) Затем внесите изменения в каталоге data (подмена .frm и .MYI файлов).<br />4) После, запустите сервис MySQL и выполните запрос на обновление индексов.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-27T13:11:33Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5196#p5196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5193#p5193" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Изменения в каталоге data необходимо делать при выключенном MySQL - единственное, что могу еще отметить.</p></blockquote></div><p>А вот я работал из phpMyAdmin,при включённом скуле...Глупый вопрос,но отключать SQL это остановка процеса в менеджере процессов(не ctrl-alt-delete).<br />И ещё вопрос,тогда как делать запросы если mysql надо отключить?</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-27T11:45:16Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5193#p5193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5189#p5189" />
			<content type="html"><![CDATA[<p><strong>Curt</strong><br />Индексный файл .MYI - хранятся в нем индексы таблицы, которые устанавливаются во время ее создания CREATE TABLE или изменения ALTER TABLE.</p><p>Во 2 пункте сказано, что надо создать таблицу со сходной структурой, но без индексов. Не знаю почему так надо делать, но попробовать можно, только не забудьте потом добавить индексы и установить в корректное значение AUTO_INCREMENT, которое должно быть на один больше максимального значения поля имеющего данный параметр.<br />В 4 пункте написано, что после REPAIR TABLE tbl_name USE_FRM; (аналог myisamchk) должно произойти считывание из файла данных .MYD (Number of rows changed from 0 to xxxx).</p><p>У вас при восстановлении происходит очистка файла данных .MYD, значит где-то что-то сделано не так.<br />Изменения в каталоге data необходимо делать при выключенном MySQL - единственное, что могу еще отметить.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-27T11:11:58Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5189#p5189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5184#p5184" />
			<content type="html"><![CDATA[<p>Хм...Ну что ж и на этом спасибо.Кстати,знаю один вопрос,одна тема,но что из себя вообще представляет индексный файл(что в нём должно хранится?)<br />***edit***<br />Почитал коментарии к то статье,наткнулся вот на это:<br /></p><div class="quotebox"><blockquote><p>Here&#039;s how I got my table back, without the index file (similar to what&#039;s described above):<br />(1) make a backup of the data file (mytable.myd), just in case<br />(2) create a new empty table with the same structure as the existing table, but no index keys.<br />(3) copy the .FRM and .MYI files from the new (empty) table over the existing mytable.frm and mytable.myi files.<br />(4) issue REPAIR TABLE mytable USE_FRM; It is very important to include the USE_FRM clause. That way, MySQL knows to make a new (empty) .MYI file that matches the .MYD file, rather than truncating the .MYD file to match the .MYI file. You will eventually get a message along the lines of &quot;Number of rows changed from 0 to xxxx&quot;.<br />(5)<strong> Now you have a working table, with no indexes. Then you can set MAX_ROWS to something appropriate, and try again to make the indexes</strong>.</p></blockquote></div><p>Сообствено так и есть.Таблица работает,но пуста.А как создать индексы за нового?</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-26T22:50:50Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5184#p5184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5182#p5182" />
			<content type="html"><![CDATA[<p><strong>Curt</strong><br />К сожалению, мне больше нечем помочь. Я не знаю, что означают эти ошибки, и как их исправить.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-26T22:39:50Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5182#p5182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5178#p5178" />
			<content type="html"><![CDATA[<p>М...Теперь файл с данными стал равным 0байт.<br />Вот что написал myisamchk:<br /></p><div class="codebox"><pre><code>&gt;myisamchk -r -q ..\data\andro\storage
- check record delete-chain
- recovering (with sort) MyISAM-table &#039;..\data\andro\storage&#039;
Data records: 0
- Fixing index 1
- Fixing index 2
myisamchk: error: Couldn&#039;t fix table with quick recovery: Found wrong number of
deleted records
myisamchk: error: Run recovery again without -q
MyISAM-table &#039;..\data\andro\storage&#039; is not fixed because of errors
Try fixing it by using the --safe-recover (-o), the --force (-f) option or by no
t using the --quick (-q) flag</code></pre></div><p>После этого я применил&nbsp; --force<br /></p><div class="codebox"><pre><code>&gt;myisamchk -f ..\data\andro\storage
Checking MyISAM file: ..\data\andro\storage
Data records:       0   Deleted blocks:   39264
myisamchk: warning: Table is marked as crashed and last repair failed
- check file-size
- check record delete-chain
myisamchk: warning: Found 0 deleted space in delete link chain. Should be 117792
0
myisamchk: error: Found 0 deleted rows in delete link chain. Should be 39264
myisamchk: error: record delete-link-chain corrupted
- recovering (with sort) MyISAM-table &#039;..\data\andro\storage&#039;
Data records: 0
- Fixing index 1
- Fixing index 2</code></pre></div><p>Что это за Warning и ошибки?Очевидно из за этого MySQL не видит данные.<br /></p><div class="quotebox"><blockquote><p>А .MYD файл вы после этого перезаписали? При доступе к таблице, после этого запроса, что пишет?</p></blockquote></div><p>Конечно перезаписывал.</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-26T17:50:42Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5178#p5178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5176#p5176" />
			<content type="html"><![CDATA[<p><strong>Curt</strong><br />myisamchk -r -q tbl_name</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-26T15:31:01Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5176#p5176</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5175#p5175" />
			<content type="html"><![CDATA[<p>Эм..Вот я создал точно такую же таблицу,в отдельной базе,перенёс файл FRM и MID,а вот дальше...Как обновить индексы?</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-26T14:48:21Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5175#p5175</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5174#p5174" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Curt сказал:</cite><blockquote><p>На что мне пишется что запрос удачно выполнен</p></blockquote></div><p>А .MYD файл вы после этого перезаписали? При доступе к таблице, после этого запроса, что пишет?</p><p>.frm - это файл описания, в нем хранится структура таблицы. Судя по всему необходимо проделать пункт 4 из статьи, то есть: попробовать создать таблицу с аналогичной структурой, затем подменить .frm и .MYI файлы и затем обновить индексы.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-05-26T12:40:05Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5174#p5174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Incorrect information in file: ' '...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=5170#p5170" />
			<content type="html"><![CDATA[<p>Проделал эту статью.<br />В пункте три сказано про:</p><div class="codebox"><pre><code>Use the table description file to create new (empty) data and index files:
shell&gt; mysql db_name
mysql&gt; SET AUTOCOMMIT=1;
mysql&gt; TRUNCATE TABLE tbl_name;
mysql&gt; quit</code></pre></div><p>Ну я тоже самое делаю в phpmyadmin,таким вот запросом:<br /></p><div class="codebox"><pre><code>SET AUTOCOMMIT=1;
TRUNCATE TABLE storage;</code></pre></div><p>На что мне пишется что запрос удачно выполнен,но MySQL вернула пустой результат ,т.е ноль строк.А по сабжу,как я понял повреждён индексный файл.=\.</p>]]></content>
			<author>
				<name><![CDATA[Curt]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1309</uri>
			</author>
			<updated>2008-05-26T11:42:59Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=5170#p5170</id>
		</entry>
</feed>
