Page 1 sur 1

Mysql et phpMyAdmin erreur

Posté : 17 juin 2013 17:19
par melodie
Salut,
J'ai effectué une opération pour laquelle je suis en principe rôdée : exporter un dump mysql et le réimporter après avoir édité le fichier par des "rechercher/remplacer". Là, après avoir fait pointer le NDD linuxvillage.org sur les DNS de Legtux.org, je souhaitais changer l'URL de http://linuxvillage.legtux.org en http://linuxvillage.org/ : car cela ne s'est pas fait "tout seul".

Le blog est en multisites depuis l'installation en tant que http://linuxvillage.legtux.org alors il est possible que ça soit une source de complication. Bref, comme "linuxvillage.org" refuse d'apparaître dans mon navigateur, mais est redirigée sur "http://linuxvillage.legtux.org/wp-signu ... legtux.org" je me suis dit que j'allais tenter d'éditer les tables.

Lorsque j'exporte, je le fais toujours en mode compressé. J'ai exporté en tar.gz, désarchivé, édité, réarchivé, tombé les tables, et lors de l'import je me prend ce message:

Code : Tout sélectionner

Error
There is a chance that you may have found a bug in the SQL parser. Please examine your query closely, and check that the quotes are correct and not mis-matched. Other possible failure causes may be that you are uploading a file with binary outside of a quoted text area. You can also try your query on the MySQL command line interface. The MySQL server error output below, if there is any, may also help you in diagnosing the problem. If you still have problems or if the parser fails where the command line interface succeeds, please reduce your SQL query input to the single query that causes problems, and submit a bug report with the data chunk in the CUT section below:
----BEGIN CUT----
eNrVU8FugkAQ9bxfMaeeFHdBIMH0QJRoG2AtoAcvhOqm0iAoLLVe+u2d1bYmTeOtTTqX2X3z3sxO
8taLIh45MGIw0sH3QgeYBcwG27RJnGClQ0hwjB98B0zN1AzWY2/rSq7Fo0bJPI6Ax11wJ16YdGHh
Id/Py/YVAr68830XNZTMAtcBQ4nJbDpTrC6PVbuBxsxLO3aWEt8NJw6IkpyGFgp7yYsiexJasy86
vxCUUmswAMzMNqnKlJ3v6mAxag+A6cy0LUPXsaBAw+wA7fxBtI3ManzKc3Vcias8UTfXl8SAr/xP
oteD3WYXHN31Ni8BLQHjdrsjCL/gvnlVfjgLgY2UO6ffPxwOGkq2x0xJtFJILKr6tGokGqpaZcUG
jwqaiFLUmVRtknwrHLhvS3R/F3TKDMgkUMuhNswCRY5FjTM/5/70H5B0cviF8c3ihMReorZIAz72
bm/2bSWHIU/decLThevPvZSH6dKL+Lk0fAcIcI86
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 16 17 757
STR: 

MySQL: 5.5.31-1~dotdeb.0
USR OS, AGENT, VER: Linux MOZILLA 5.0
PMA: 3.5.3
PHP VER,OS: 5.4.15-1~dotdeb.1 Linux
LANG: en
SQL: linuxvillage.sql000644 001750 000144 00001461074 12157632244 014635 0ustar00joyceusers000000 000000 -- phpMyAdmin SQL Dump
-- version 3.5.3
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jun 17, 2013 at 06:07 PM
-- Server version: 5.5.31-1~dotdeb.0
-- PHP Version: 5.4.15-1~dotdeb.1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

----END RAW----

SQL query:

linuxvillage.sql000644 001750 000144 00001461074 12157632244 014635 0ustar00joyceusers000000 000000 -- phpMyAdmin SQL Dump -- version 3.5.3 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 17, 2013 at 06:07 PM -- Server version: 5.5.31-1~dotdeb.0 -- PHP Version: 5.4.15-1~dotdeb.1 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

MySQL said: Documentation
#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 'linuxvillage.sql' at line 1
[ Back ]

Bien entendu, j'ai fait les backups avant de commencer. (BDD, export xml et contenu du site).

Je vais donc tout supprimer et recommencer à zéro.

Pour le message ci-dessus, vos réflexions m'intéressent.

Merci,
Mélodie