1. 程式人生 > >mysql匯入.sql報錯

mysql匯入.sql報錯

ERROR: ASCII ‘\0’ appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode to 1 if ASCII ‘\0’ is expected. Query: ‘?’. 解決辦法:用於匯入的.sql檔案不要用sql manager等軟體儲存(匯出),用記事本儲存該.sql檔案。 然後通過cmd 匯入。