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;
bitsCN.com
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn