<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Подскажите, в чем ошибка]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=4089&amp;type=atom" />
	<updated>2015-07-01T13:16:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=4089</id>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите, в чем ошибка]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=26452#p26452" />
			<content type="html"><![CDATA[<p>Да, спасибо, все получилось.</p>]]></content>
			<author>
				<name><![CDATA[boyko]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=7170</uri>
			</author>
			<updated>2015-07-01T13:16:35Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=26452#p26452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите, в чем ошибка]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=26451#p26451" />
			<content type="html"><![CDATA[<p>Попробуйте убрать из запроса комментарий к полю. COMMENT &#039;unique social account&#039;<br />Вероятно проблема в разных версиях MySQL.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2015-07-01T09:39:36Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=26451#p26451</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Подскажите, в чем ошибка]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=26450#p26450" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[boyko]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=7170</uri>
			</author>
			<updated>2015-07-01T08:18:29Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=26450#p26450</id>
		</entry>
</feed>
