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-05-27 00:56  无忧之路  阅读(446)  评论(0编辑  收藏  举报
无忧之路