GBK:
create database test2 DEFAULT CHARACTER SET gbk COLLATE
gbk_chinese_ci;
UTF8:
CREATE DATABASE `test2` DEFAULT CHARACTER SET utf8 COLLATE
utf8_general_ci
MySQL 创建数据库并且指定编码,布布扣,bubuko.com
时间: 2024-10-20 22:42:50
GBK:
create database test2 DEFAULT CHARACTER SET gbk COLLATE
gbk_chinese_ci;
UTF8:
CREATE DATABASE `test2` DEFAULT CHARACTER SET utf8 COLLATE
utf8_general_ci
MySQL 创建数据库并且指定编码,布布扣,bubuko.com