繁体   English   中英

MySQL错误迁移WordPress

[英]MySQL Error Migrating WordPress

我只是从旧服务器导出Wordpress数据库并将其导入到新服务器。 我使用的过程是我经常执行的常规PHPMyAdmin过程,因此在那里没有问题...

我收到此错误消息,不确定是什么意思。 我的某些网站现在在新服务器上似乎已损坏,我觉得这与它有关。

 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----
eNo1jL0KwyAYRQvZvqe4DyBSNSHgJiLJ4F817V5Chy7ZCs3bxxR6p8PlcFwpqWhYASvhXdQQkBCC
6tLujijs9eY1Bj5wpeheC1JlMJOLC8PDNSk8V9i5pOCadeWqpxyMRt94pDzn02Kpng3JxQj/3j5f
8iZOGq+NfnnqLv8djMMfvA==
----END CUT----
----BEGIN RAW----
ERROR: C1 C2 LEN: 1 2 11
STR: 

MySQL: 5.5.33
USR OS, AGENT, VER: Mac CHROME 5.0.34
PMA: 4.0.7
PHP VER,OS: 5.2.17 Linux
LANG: en
SQL: 

----END RAW----

SQL query:



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 '' at line 1 
[ Back ]

在任何编辑器中打开导出的文件,然后检查是否有任何特殊字符或任何换行符? 有时特殊字符会停止导入过程。 在更多我建议检查phpmyadmin版本和mysql版本。或者您可以直接复制并粘贴到phpmyadmin中的sql选项卡中,查看它是否给出任何错误。

不知道您是否具有外壳程序访问权限,但我使用mysqldump可以避免编码问题。

https://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM