摘要:
Mysql目录下的my.ini文件default-character-set=gbk(两处)修改database的charset:alter database database名字 character set gbk;然后 在mysql中执行SHOW VARIABLES LIKE 'character%';查看 编码设置语句如下:SET character_set_server = gbk ;SET character_set_client = gbk ;SET character_set_database = gbk ;SET character_set_results = 阅读全文