新建库create database 库名 charset 字符集;数据库创建好之后,mysql服务端的data文件夹中会生成一个库名文件夹,里面会多一个opt格式文件,内容是该数据库的字符集和排序规则 2. 删除库drop databse 库名