看板 Database 關於我們 聯絡資訊
資料庫名稱: MySQL 資料庫版本: 5.5.33 內容/問題描述: 我想匯入一個含有mysql指令的外部檔案 test.sql 若是使用phpMyadmin的import功能可以順利匯入 但是下指令 source test.sql 會顯示錯誤訊息 #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 'source test.sql' at line 1 請問是我對source的使用方式錯誤? 還是這版本mysql不支援source指令? 有其它指令可替代嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.129.3.250 ※ 文章網址: https://www.ptt.cc/bbs/Database/M.1431171324.A.10E.html
s9714635: 錯誤訊息很說明了,沒有source的指令不是嗎? 05/17 11:50