Re: utf8的mysql檔案為何不能用指令的方式匯入

看板Programming作者 (霸格尼尼)時間18年前 (2007/03/11 16:00), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《quota@kkcity.com.tw (我要出清)》之銘言: : 請教一下,若我的資料表格式是utf8 : 為何當我匯入時,若在phpmyAdmin內可以匯入 : 但是若在windows內下指令,卻會出現以下的訊息呢? : C:\>mysql -uxyy -pxxx twxx <command.sql : ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check : the ma : nual that corresponds to your MySQL server version for the right syntax to : use n : ear '嚜澳ROP TABLE IF EXISTS `configuration_test`' at line 1 : 這個資料表我放在以下的位置 : http://rapidshare.com/files/20454193/command.zip : 若各位有興趣,可否下載下來試試看? : 謝謝! 應該是檔頭的BOM作怪 用NotePad++,ConvertZ,UltraEdit 之類的程式把BOM弄掉應該就好了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.22.93.130
文章代碼(AID): #15yxS2t2 (Programming)
文章代碼(AID): #15yxS2t2 (Programming)