Re: [系統] linux下mysql匯入.sql檔

看板Database作者 (找尋蔚藍天空)時間18年前 (2007/08/22 21:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
※ 引述《Falldog (嘿嘿~)》之銘言: : 我將myfile這個sql檔匯入mysql中 : mysql lifetype -ufalldog -pxxxx < myfile.sql : 結果卻出現了問題 : ERROR 1064 (42000) at line 331: 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 ' : 我檢查了一下 發現出錯的這行句子裡 ''中間有個「功」字 : 他看到「功」就直接視為字串'結束了 : 請問要怎麼解決這個問題啊??? : >_< 把table都改成utf-8 把myfile.sql用windows的notepad開啟 另存時選UTF-8 再用轉好的myfile.sql匯入 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.25.92
文章代碼(AID): #16p3IqtN (Database)
文章代碼(AID): #16p3IqtN (Database)