當我運行Ubuntu的終端上運行此命令:進口sql中轉儲到Postgres的
psql -h localhost -U arwinder --password -f sh_cake_db_14_02_13.sql -d new_db
其中「arwinder」是用戶名和「sh_cake_db_14_02_13.sql」的SQL轉儲和「new_db」是數據庫。 然後導入時顯示以下錯誤,並在postgresql數據庫中我沒有所有的表。鄭大世是錯誤的:
invalid command \N
invalid command \
invalid command \
ERROR: syntax error at or near "27"
LINE 1: 27 Balaji Angan
SQL轉儲中第1行的內容是什麼? – 2013-02-25 09:07:45