CREATE DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
修改字符集:bash
ALTER DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci