Rumah >pangkalan data >tutorial mysql >mysql创建数据库时制定编码语句_MySQL
bitsCN.com
mysql创建数据库时制定编码语句
GBK:
CREATE DATABASE test1 DEFAULT
CHARACTER SET gbk COLLATE gbk_chinese_ci;
UTF-8:
CREATE DATABASE test2 DEFAULT
CHARACTER SET utf8 COLLATE utf8_general_ci;