本文内容如题所示,具体如下:

UTF8:
create database 【db_name】 default charset utf8 COLLATE utf8_general_ci;

GBK:
create database 【db_name】 DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;

————————————
Done。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装