一、创建库create database if not exists 库名//判断是否有库character set 字符集名;二、修改库的字符集alter database 库名 character set 字符集名;三、删除库drop database if exists 库名;