MySQL is an open source, object-relational database built with speed and reliability in mind. Its large and active developer community has created many third-party applications, tools, and libraries that expand MySQL’s functionality.
The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.
By sending requests to the API’s
/v2/databases endpoint, you can list, create, or delete database clusters as well as scale the size of a cluster, add or remove read-only replicas, and manage other configuration details. See the API documentation on databases for more information.
doctl is a command-line interface for the DigitalOcean API and supports many of the same actions.
doctl supports managing database clusters, database pools, replicas, and users, and more. Use
doctl databases help for more information.