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

posted @ 2014-04-04 09:05  Debm.Zhang  阅读(395)  评论(1编辑  收藏  举报