簡體   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