--disable_warnings drop table if exists t1; --enable_warnings set character_set_database=gbk; show variables like 'char%'; create table `t1` ( `a` blob ) engine=myisam default charset=latin1; insert into t1 values(0xee00); select hex(a) from t1; --exec $MYSQL_DUMP -T var test truncate table t1; load data local infile 'var/t1.txt' into table t1; select hex(a) from t1;