mysql创建数据库并设置字符集编码

create database `mydb` character set utf8 collate utf8_general_ci;

原文地址:https://www.cnblogs.com/mediocreWorld/p/11094795.html