--- name: database description: Use when the user wants to create, list, describe, or drop databases in Milvus. --- ## Prerequisites 1. CLI installed, logged in, and cluster context set (see setup skill). ## Commands Reference ### Create a Database ```bash zilliz database create --name # Or use raw JSON: --body '{"properties": {}}' ``` *Create a new database. (Dedicated only)* ### List Databases ```bash zilliz database list ``` ### Describe a Database ```bash zilliz database describe --name ``` *Get details of a database. (Dedicated only)* ### Drop a Database ```bash zilliz database drop --name ``` *Drop a database. (Dedicated only)* ## Guidance - Database create, describe, and drop operations are only available on **Dedicated** clusters. `database list` works on all cluster types. - Every cluster has a "default" database. - Before dropping a database, confirm with the user -- all collections in it will be deleted. - After creating a database, suggest switching context: `zilliz context set --database `. - To work with collections in a non-default database, use `--database` flag on collection commands or switch context.