<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=763&amp;type=atom" />
	<updated>2008-04-29T17:06:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=763</id>
		<entry>
			<title type="html"><![CDATA[Re: phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=4908#p4908" />
			<content type="html"><![CDATA[<p>та у меня тоже всегда нормально было....<br />Тут выяснил, тему наверное можно закрыть...дело по всей видимости не в phpmyadmin, а кривой сборке php (сборка от remi)<br />На разных php-мускул клиентах оттестил, проблема осталась<br />на perl-овом все ок!</p>]]></content>
			<author>
				<name><![CDATA[disconnect]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1268</uri>
			</author>
			<updated>2008-04-29T17:06:32Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=4908#p4908</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=4907#p4907" />
			<content type="html"><![CDATA[<p><strong>disconnect</strong><br />Даже не знаю. У меня импорт проходит без ошибок.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2008-04-29T13:45:40Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=4907#p4907</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[phpmyadmin не разпознает комментарии в файле дампа при импорте]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=4906#p4906" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[disconnect]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1268</uri>
			</author>
			<updated>2008-04-29T10:57:26Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=4906#p4906</id>
		</entry>
</feed>
