https://iphwiki.net/index.php?title=MySQL_-_%D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B8_%D0%BF%D0%BE%D1%81%D0%BB%D0%B5_%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_5.1_%D0%B4%D0%BE_5.6_%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B8_-_InnoDB:_auto-extending_data_file_./ibdata1_is_of_a_different_size_640_pages_(rounded_down_to_MB)&feed=atom&action=historyMySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) - История изменений2024-03-28T18:39:44ZИстория изменений этой страницы в викиMediaWiki 1.35.0https://iphwiki.net/index.php?title=MySQL_-_%D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B8_%D0%BF%D0%BE%D1%81%D0%BB%D0%B5_%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_5.1_%D0%B4%D0%BE_5.6_%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B8_-_InnoDB:_auto-extending_data_file_./ibdata1_is_of_a_different_size_640_pages_(rounded_down_to_MB)&diff=7870&oldid=prevAdmin iph в 11:37, 30 марта 20202020-03-30T11:37:48Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="ru">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Предыдущая</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Версия 11:37, 30 марта 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Строка 1:</td>
<td colspan="2" class="diff-lineno">Строка 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== MySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) ===</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== MySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) ===</div></td></tr>
</table>Admin iphhttps://iphwiki.net/index.php?title=MySQL_-_%D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B8_%D0%BF%D0%BE%D1%81%D0%BB%D0%B5_%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_5.1_%D0%B4%D0%BE_5.6_%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B8_-_InnoDB:_auto-extending_data_file_./ibdata1_is_of_a_different_size_640_pages_(rounded_down_to_MB)&diff=6905&oldid=prevAdmin iph: Новая страница: « === MySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different …»2019-09-09T09:06:36Z<p>Новая страница: « === MySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different …»</p>
<p><b>Новая страница</b></p><div><br />
=== MySQL - решение ошибки после обновления 5.1 до 5.6 версии - InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) ===<br />
<br />
После обновления версии mysql с 5.1 до 5.6 - вылезла ошибка вида:<br />
2017-09-30 11:13:54 23818 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!<br />
2017-09-30 11:13:54 23818 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!<br />
2017-09-30 11:13:54 23818 [ERROR] Plugin 'InnoDB' init function returned error.<br />
2017-09-30 11:13:54 23818 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.<br />
2017-09-30 11:13:54 23818 [ERROR] Unknown/unsupported storage engine: InnoDB<br />
2017-09-30 11:13:54 23818 [ERROR] Aborting<br />
<br />
<br />
решение:<br />
# vi /etc/my.cnf<br />
[mysqld]<br />
innodb_data_file_path = ibdata1:10M:autoextend<br />
<br />
Перезапускаем mysql сервер:<br />
# /etc/init.d/mysqld restart</div>Admin iph