原帖由 lpc002000 于 2008-8-5 10:09 发表
在shell脚本下执行:/home/work/local/mysql/bin/mysql -uuser -p test_db < data.sql
在mysql端执行source data.sql有什么区别呢?
我只知道在mysql端执行set names utf8可以解决中文问题,在shell端的命 ...
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |