<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Проблема с импортом БД (sqlbuddy>phpMyAdmin)]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=2737&amp;type=atom" />
	<updated>2012-11-16T13:21:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=2737</id>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с импортом БД (sqlbuddy>phpMyAdmin)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=21699#p21699" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Проблема в индексе search, который содержит слишком большие поля для обычного индекса (не должно превышать 1000 символов). Если данное поле используется при полнотекстовом поиске, то замените:<br /></p><div class="codebox"><pre><code>KEY `search` 
-- На 
FULLTEXT `search` </code></pre></div><p>На будущее имейте в виду, что импортировать и экспортировать дамп желательно одной и той же программой.</p></blockquote></div><p>Огромное Вам спасибо, все заработало!</p>]]></content>
			<author>
				<name><![CDATA[Shalty]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=4683</uri>
			</author>
			<updated>2012-11-16T13:21:02Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=21699#p21699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с импортом БД (sqlbuddy>phpMyAdmin)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=21698#p21698" />
			<content type="html"><![CDATA[<p>Проблема в индексе search, который содержит слишком большие поля для обычного индекса (не должно превышать 1000 символов). Если данное поле используется при полнотекстовом поиске, то замените:<br /></p><div class="codebox"><pre><code>KEY `search` 
-- На 
FULLTEXT `search` </code></pre></div><p>На будущее имейте в виду, что импортировать и экспортировать дамп желательно одной и той же программой.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2012-11-16T12:43:18Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=21698#p21698</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проблема с импортом БД (sqlbuddy>phpMyAdmin)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=21693#p21693" />
			<content type="html"><![CDATA[<p>Недавно передали проект для небольших изменений, БД экспортировали из sqlbuddy, но появилась проблема с одной конкретной таблицей, при её импорте возникает ошибка:<br />#1170 - BLOB/TEXT column &#039;introtext&#039; used in key specification without a key length<br />Если я правильно поняла, то дело в параметрах колонки introtext, но к сожалению не могу ничего придумать для исправления данной ошибки, совсем в этом не разбираюсь, а сделать надо сегодня. Вот сама таблица:<br />CREATE TABLE `tsb79_k2_items` (<br />&nbsp; &nbsp;`id` int(11) not null auto_increment,<br />&nbsp; &nbsp;`title` varchar(255) not null,<br />&nbsp; &nbsp;`alias` varchar(255),<br />&nbsp; &nbsp;`catid` int(11) not null,<br />&nbsp; &nbsp;`published` smallint(6) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`introtext` mediumtext not null,<br />&nbsp; &nbsp;`fulltext` mediumtext not null,<br />&nbsp; &nbsp;`video` text,<br />&nbsp; &nbsp;`gallery` varchar(255),<br />&nbsp; &nbsp;`extra_fields` text,<br />&nbsp; &nbsp;`extra_fields_search` text not null,<br />&nbsp; &nbsp;`created` datetime not null,<br />&nbsp; &nbsp;`created_by` int(11) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`created_by_alias` varchar(255) not null,<br />&nbsp; &nbsp;`checked_out` int(10) unsigned not null,<br />&nbsp; &nbsp;`checked_out_time` datetime not null,<br />&nbsp; &nbsp;`modified` datetime not null,<br />&nbsp; &nbsp;`modified_by` int(11) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`publish_up` datetime not null,<br />&nbsp; &nbsp;`publish_down` datetime not null,<br />&nbsp; &nbsp;`trash` smallint(6) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`access` int(11) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`ordering` int(11) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`featured` smallint(6) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`featured_ordering` int(11) not null default &#039;0&#039;,<br />&nbsp; &nbsp;`image_caption` text not null,<br />&nbsp; &nbsp;`image_credits` varchar(255) not null,<br />&nbsp; &nbsp;`video_caption` text not null,<br />&nbsp; &nbsp;`video_credits` varchar(255) not null,<br />&nbsp; &nbsp;`hits` int(10) unsigned not null,<br />&nbsp; &nbsp;`params` text not null,<br />&nbsp; &nbsp;`metadesc` text not null,<br />&nbsp; &nbsp;`metadata` text not null,<br />&nbsp; &nbsp;`metakey` text not null,<br />&nbsp; &nbsp;`plugins` text not null,<br />&nbsp; &nbsp;`language` char(7) not null,<br />&nbsp; &nbsp;PRIMARY KEY (`id`),<br />&nbsp; &nbsp;KEY `item` (`published`,`publish_up`,`publish_down`,`trash`,`access`),<br />&nbsp; &nbsp;KEY `catid` (`catid`),<br />&nbsp; &nbsp;KEY `created_by` (`created_by`),<br />&nbsp; &nbsp;KEY `ordering` (`ordering`),<br />&nbsp; &nbsp;KEY `featured` (`featured`),<br />&nbsp; &nbsp;KEY `featured_ordering` (`featured_ordering`),<br />&nbsp; &nbsp;KEY `hits` (`hits`),<br />&nbsp; &nbsp;KEY `created` (`created`),<br />&nbsp; &nbsp;KEY `language` (`language`),<br />&nbsp; &nbsp;KEY `search` (`title`,`introtext`,`fulltext`,`extra_fields_search`,`image_caption`,`image_credits`,`video_caption`,`video_credits`,`metadesc`,`metakey`),<br />&nbsp; &nbsp;KEY `title` (`title`)<br />) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=17;</p>]]></content>
			<author>
				<name><![CDATA[Shalty]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=4683</uri>
			</author>
			<updated>2012-11-16T10:46:16Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=21693#p21693</id>
		</entry>
</feed>
