作者pakker (找寻蔚蓝天空)
看板Database
标题Re: [系统] linux下mysql汇入.sql档
时间Wed Aug 22 21:05:55 2007
※ 引述《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