Bonjour, J'ai téléchargé et installé Wamp sans souci mais je ne parviens pas à synchroniser mon worpress local avec le site déjà en ligne. Pour l'instant j'ai exporté et enregistré tout le contenu de mon site via l'interface d'administration en ligne mais je n'arrive pas à l'importer via Phpmyadmin. #1064 / erreur de syntaxe SQL Quelqu'un pourrait-il me ré expliquer pas à pas la procédure de synchronisation (je suis novice en la matière) ? MERCI
Je voulais déjà savoir si j'étais sur la bonne voie ... Le message d'erreur est le suivant :
Erreur
Requête SQL:
<?xml version="1.0" encoding="UTF-8" ?> <!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. --> <!-- It contains information about your site's posts, pages, comments, categories, and other content. --> <!-- You may use this file to transfer that content from one site to another. --> <!-- This file is not intended to serve as a complete backup of your site. --> <!-- To import this information into a WordPress site follow these steps: --> <!-- 1. Log in to that site as an administrator. --> <!-- 2. Go to Tools: Import in the WordPress admin panel. --> <!-- 3. Install the "WordPress" importer from the list. --> <!-- 4. Activate & Run Importer. --> <!-- 5. Upload this file using the form provided on that page. --> <!-- 6. You will first be asked to map the authors in this export file to users --> <!-- on the site. For each author, you may choose to map to an --> <!-- existing user on the site or to create a new user. --> <!-- 7. WordPress wil[...]
MySQL a répondu: #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 '<?xml version="1.0" encoding="UTF-8" ?> <!-- This is a WordPress eXtended RSS fi' at line 1
Vous avez écrit : « j'ai exporté et enregistré tout le contenu de mon site via l'interface d'administration en ligne » PhpMyadmin ne peut importer QUE des exports de base de données, pas des contenus de site.
Procédure d'export / import avec PhpMyAdmin : [fluxbb.fr]