mysql_create_database
Creates a MySQL database with specified name, charset, and collation. Simplifies database setup for efficient management and structured data storage.
Instructions
创建数据库
Input Schema
Name | Required | Description | Default |
---|---|---|---|
charset | No | 字符集(可选) | utf8mb4 |
collation | No | 排序规则(可选) | utf8mb4_unicode_ci |
name | Yes | 数据库名称 |
Input Schema (JSON Schema)
{
"properties": {
"charset": {
"default": "utf8mb4",
"description": "字符集(可选)",
"type": "string"
},
"collation": {
"default": "utf8mb4_unicode_ci",
"description": "排序规则(可选)",
"type": "string"
},
"name": {
"description": "数据库名称",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}