1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00
tldr/pages/common/doctl-databases.md
Kicka5h 7e3e0bdc1d
doctl-databases-*: add page (#10882)
* doctl-databases-*: add page

---------

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-12 17:02:49 +05:30

554 B

doctl databases

Manage your MySQL, Redis, PostgreSQL, and MongoDB database services. More information: https://docs.digitalocean.com/reference/doctl/reference/databases.

  • Run a doctl databases command with an access token:

doctl databases {{command}} --access-token {{access_token}}

  • Get details for a database cluster:

doctl databases get

  • List your database clusters:

doctl databases list

  • Create a database cluster:

doctl databases create {{database_name}}

  • Delete a cluster:

doctl databases delete {{database_id}}