Dos下连接mysql后,运行一下几项就可以插入中文了: SET character_set_client = gbk; SET character_set_connection = gbk; SET character_set_database = gbk; SET character_set_results = gbk; SET character_set_server = gbk; SET collation_connection = gbk_bin; SET collation_database = gbk_bin; SET collation_server = gbk_bin;