Vultr DocsLatest Content


Create

Updated on 15 September, 2025

Provisions a new managed database instance on Vultr with customizable configuration options including database type, region, and plan.


The vultr-cli database create command provisions a new managed database instance on Vultr's platform with specified configuration options such as type, region, and plan.

Usage

console
$ vultr-cli database create [flags]

Examples

console
# Full example
$ vultr-cli database create --database-engine="mysql" --database-engine-version="8" --region="ewr" \
--plan="vultr-dbaas-startup-cc-1-55-2" --label="example-db"
# Full example with custom MySQL settings
$ vultr-cli database create --database-engine="mysql" --database-engine-version="8" --region="ewr" \
--plan="vultr-dbaas-startup-cc-1-55-2" --label="example-db" --mysql-slow-query-log="true" \
--mysql-long-query-time="2"

Flags

Shorthand Long Version Description
- --backup-hour backup hour for the new managed database
- --backup-minute backup minute for the new managed database
-e --database-engine database engine for the new managed database
-v --database-engine-version database engine version for the new managed database
- --enable-kafka-connect enable Kafka Connect for the new apache kafka managed database
- --enable-kafka-rest enable Kafka REST for the new apache kafka managed database
- --enable-schema-registry enable Schema Registry for the new apache kafka managed database
- --eviction-policy eviction policy for the new caching managed database
-l --label label for the new managed database
- --maintenance-dow maintenance day of week for the new managed database
- --maintenance-time maintenance time for the new managed database
- --mysql-long-query-time long query time for the new mysql managed database when slow query logging is enabled
- --mysql-require-primary-key enable requiring primary keys for the new mysql managed database
- --mysql-slow-query-log enable slow query logging for the new mysql managed database
- --mysql-sql-modes comma-separated list of sql modes for the new managed database
-p --plan plan id for the new managed database
-r --region region id for the new managed database
- --tag tag for the new managed database
- --trusted-ips comma-separated list of trusted ip addresses for the new managed database
- --vpc-id vpc id for the new managed database

Comments

No comments yet.