<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум PHP-MyAdmin.RU &mdash; Подскажите, в чем ошибка]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=4089</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=4089&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Подскажите, в чем ошибка».]]></description>
		<lastBuildDate>Wed, 01 Jul 2015 13:16:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Подскажите, в чем ошибка]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=26452#p26452</link>
			<description><![CDATA[<p>Да, спасибо, все получилось.</p>]]></description>
			<author><![CDATA[null@example.com (boyko)]]></author>
			<pubDate>Wed, 01 Jul 2015 13:16:35 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=26452#p26452</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите, в чем ошибка]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=26451#p26451</link>
			<description><![CDATA[<p>Попробуйте убрать из запроса комментарий к полю. COMMENT &#039;unique social account&#039;<br />Вероятно проблема в разных версиях MySQL.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Wed, 01 Jul 2015 09:39:36 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=26451#p26451</guid>
		</item>
		<item>
			<title><![CDATA[Подскажите, в чем ошибка]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=26450#p26450</link>
			<description><![CDATA[<p>При sql-запросе:</p><p>CREATE TABLE IF NOT EXISTS `et_social_customer` (<br />&nbsp; `id` int(11) NOT NULL AUTO_INCREMENT,<br />&nbsp; `social_provider` varchar(255) DEFAULT NULL,<br />&nbsp; `social_customer_id` varchar(255) DEFAULT NULL,<br />&nbsp; `customer_id` int(11) DEFAULT NULL,<br />&nbsp; `website_id` int(11) DEFAULT NULL,<br />&nbsp; `social_profile_link` varchar(255) DEFAULT NULL,<br />&nbsp; `social_name` varchar(255) DEFAULT NULL,<br />&nbsp; `social_photo` varchar(255) DEFAULT NULL,<br />&nbsp; PRIMARY KEY (`id`),<br />&nbsp; UNIQUE KEY `social_account_idx` (`social_provider`,`social_customer_id`) COMMENT &#039;unique social account&#039;,<br />&nbsp; KEY `social_customer_id_idx` (`social_customer_id`) USING BTREE,<br />&nbsp; KEY `social_provider_idx` (`social_provider`) USING BTREE,<br />&nbsp; KEY `customer_id_idx` (`customer_id`)<br />) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;</p><p>получаю ошибку:</p><p> Ответ MySQL: Документация<br />#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;COMMENT &#039;unique social account&#039;,<br />&nbsp; KEY `social_customer_id_idx` (`social_custome&#039; at line 21 </p><p>Причём на локальную БД стало всё нормально, на хостинг не хочет.<br />Не могу понять, что не так.</p>]]></description>
			<author><![CDATA[null@example.com (boyko)]]></author>
			<pubDate>Wed, 01 Jul 2015 08:18:29 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=26450#p26450</guid>
		</item>
	</channel>
</rss>
