riverphoenix

导航

 
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;

 

posted on 2013-09-04 10:15  riverphoenix  阅读(191)  评论(0编辑  收藏  举报