Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 迁移WordPress时发生MySQL错误_Php_Mysql_Database_Wordpress_Phpmyadmin - Fatal编程技术网

Php 迁移WordPress时发生MySQL错误

Php 迁移WordPress时发生MySQL错误,php,mysql,database,wordpress,phpmyadmin,Php,Mysql,Database,Wordpress,Phpmyadmin,我刚从旧服务器导出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 qu

我刚从旧服务器导出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选项卡,查看是否有任何错误。

不确定您是否具有shell访问权限,但我使用mysqldump它将避免编码问题