<?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; phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=763</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=763&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «phpmyadmin не разпознает комментарии в файле дампа при импорте».]]></description>
		<lastBuildDate>Tue, 29 Apr 2008 17:06:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=4908#p4908</link>
			<description><![CDATA[<p>та у меня тоже всегда нормально было....<br />Тут выяснил, тему наверное можно закрыть...дело по всей видимости не в phpmyadmin, а кривой сборке php (сборка от remi)<br />На разных php-мускул клиентах оттестил, проблема осталась<br />на perl-овом все ок!</p>]]></description>
			<author><![CDATA[null@example.com (disconnect)]]></author>
			<pubDate>Tue, 29 Apr 2008 17:06:32 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=4908#p4908</guid>
		</item>
		<item>
			<title><![CDATA[Re: phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=4907#p4907</link>
			<description><![CDATA[<p><strong>disconnect</strong><br />Даже не знаю. У меня импорт проходит без ошибок.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Tue, 29 Apr 2008 13:45:40 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=4907#p4907</guid>
		</item>
		<item>
			<title><![CDATA[phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=4906#p4906</link>
			<description><![CDATA[<p>Первый раз с таким сталкиваюсь...поднял даже второй сервер для эксперимента - на нем все нормально (единственное различие между серверами в архитектуре CPU)<br />CentOS 5.0<br />php 5.2.5<br />httpd 2.2.3<br />mysql 5.0.51<br />phpmyadmin (пробовал на разных версиях)<br /><strong>кусок дампа:</strong><br />- phpMyAdmin SQL Dump<br />-- version 2.6.4-pl4<br />-- <a href="http://www.phpmyadmin.net">http://www.phpmyadmin.net</a><br />--<br />-- Хост: localhost<br />-- Время создания: Апр 02 2008 г., 20:14<br />-- Версия сервера: 4.1.21<br />-- Версия PHP: 5.2.3<br />--<br />-- БД: `xxx`<br />--</p><p>-- --------------------------------------------------------</p><p>--<br />-- Структура таблицы `xxx`<br />--</p><p>DROP TABLE IF EXISTS `xxx`;<br />CREATE TABLE `xxx` (<br />&nbsp; `id` int(11) NOT NULL auto_increment,<br />&nbsp; `login` varchar(20) NOT NULL default &#039;0&#039;,<br />&nbsp; `password` varchar(50) NOT NULL default &#039;&#039;,<br />&nbsp; `name` varchar(255) NOT NULL default &#039;&#039;,<br />&nbsp; `email` varchar(30) NOT NULL default &#039;&#039;,<br />&nbsp; `icq` varchar(50) NOT NULL default &#039;&#039;,<br />&nbsp; `requisites` text NOT NULL,<br />&nbsp; `percents` varchar(255) NOT NULL default &#039;0&#039;,<br />&nbsp; `reg_date` datetime NOT NULL default &#039;0000-00-00 00:00:00&#039;,<br />&nbsp; `active` char(1) NOT NULL default &#039;N&#039;,<br />&nbsp; `confirm_code` varchar(16) NOT NULL default &#039;&#039;,<br />&nbsp; PRIMARY KEY&nbsp; (`id`)<br />) ENGINE=MyISAM AUTO_INCREMENT=134 DEFAULT CHARSET=utf8;</p><p><strong>Ошибка phpmyadmin:</strong><br />SQL-запрос:</p><p>-- phpMyAdmin SQL Dump<br />-- version 2.6.4-pl4<br />-- <a href="http://www.phpmyadmin.net">http://www.phpmyadmin.net</a><br />-- <br />-- Хост: localhost<br />-- Время создания: Апр 02 2008 г., 20:14<br />-- Версия сервера: 4.1.21<br />-- Версия PHP: 5.2.3<br />-- <br />-- БД: `mzone_db`<br />-- <br />-- --------------------------------------------------------<br />-- <br />-- Структура таблицы `xxx`<br />-- <br />DROP TABLE IF EXISTS `xxx` ;</p><p>CREATE TABLE `xxx` (<br />`id` int( 11 ) NOT NULL auto_in</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;-D(<br />&nbsp; `id` int(11) NOT NULL auto_i&#039; at line 1</p><p><strong>В логах mysql сервера видим подобную картину:</strong><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;55 Query&nbsp; &nbsp; &nbsp; &nbsp;SET NAMES utf8<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;55 Query&nbsp; &nbsp; &nbsp; &nbsp;SET collation_connection = &#039;utf8_unicode_ci&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Connect&nbsp; &nbsp; &nbsp;root@localhost on<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SET NAMES utf8<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SET collation_connection = &#039;utf8_unicode_ci&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW SESSION VARIABLES LIKE &#039;collation_connection&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW SESSION VARIABLES LIKE &#039;character_set_connection&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW CHARACTER SET<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW COLLATION<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW DATABASES<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW VARIABLES LIKE &#039;profiling&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SELECT COUNT(*) FROM mysql.user<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW GRANTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Init DB&nbsp; &nbsp; &nbsp;testdb<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SET SQL_MODE=&quot;NONE&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;-D(<br />&nbsp; `id` int(11) NOT NULL auto_i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW VARIABLES LIKE &#039;language&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;-D(<br />&nbsp; `id` int(11) NOT NULL auto_i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW VARIABLES LIKE &#039;language&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;-D(<br />&nbsp; `id` int(11) NOT NULL auto_i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW VARIABLES LIKE &#039;language&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;-D(<br />&nbsp; `id` int(11) NOT NULL auto_i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SHOW VARIABLES LIKE &#039;language&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56 Query&nbsp; &nbsp; &nbsp; &nbsp;SELECT COUNT(*) FROM mysql.user</p><br /><p>При удалении комментариев типа &quot;-- бла бла бла&quot; импорт проходит без проблем<br />В чем может быть проблема?</p>]]></description>
			<author><![CDATA[null@example.com (disconnect)]]></author>
			<pubDate>Tue, 29 Apr 2008 10:57:26 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=4906#p4906</guid>
		</item>
	</channel>
</rss>
