突然導入數據庫備份返回下面的錯誤。 奇怪的是,導入一箇舊的工作副本的作品。 如果我之後直接導出它,並嘗試重新導入它,則文件會提供此錯誤。導入數據庫備份返回#1064
看起來像它的phpMyAdmin的出口,導致問題。 我不知道PhpMyAdmin導出過程中是否有任何更改?
This看起來像我的問題,但解決的辦法並沒有爲我工作。
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:
----INIZIO CUT----
eNo1jU0KwjAYRIXuvlPMAWIw0SrNLoTQLvJn0roXF1IQ3Sjo7U0FZ/UYHjM255gVjICRcDYoCEgI
QWWsdUPkP+XoFFou+L5b3x5XmkpGLAy6t2FkONkq+vMFZsjR22puuOwoea2wq9xSGtJisViWnS0X
B7j5/nqT06FXmJ/0u6Bm9c8XSs4hPQ==
----FINE CUT----
----INIZIO RAW----
ERROR: C1 C2 LEN: 1 2 11
STR: MySQL: 5.1.69-log
USR OS, AGENT, VER: Mac CHROME 5.0.29
PMA: 4.0.5
PHP VER,OS: 5.3.17 Linux
LANG: it
SQL:
----FINE RAW----
Query SQL:
Messaggio di MySQL:
#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
(我翻譯了我所能做的錯誤我的phpMyAdmin是在意大利)
很好的發現,這是解決這個問題最快捷的方法。 – zigojacko
在我的sql轉儲結束時,創建了三個空行。刪除它們的所有數據庫上傳 – Romain