日期:2014-05-16  浏览次数:20448 次

mysql 创建数据库时指定字符

先mysql进入:

GBK: create?database test2 DEFAULT?CHARACTER?SET gbk COLLATE gbk_chinese_ci;

UTF8: CREATE?DATABASE `test2` DEFAULT?CHARACTER SET utf8?COLLATE utf8_general_ci;