📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

TiDB Cloud Starter CLI Command Reference



Use ti db to manage TiDB Cloud Starter instances, branches, and SQL access. The CLI rejects instance-scoped operations when the target is not a TiDB Cloud Starter instance or its service plan cannot be verified.

A branch is a separate TiDB Cloud Starter instance that contains a diverged copy of data from its parent instance. Use branches to test changes in isolation without affecting the parent. For more information, see TiDB Cloud Branching.

Commands

CommandDescription
create-db-clusterCreates a TiDB Cloud Starter instance.
list-db-clustersLists Starter instances in the effective region.
describe-db-clusterDescribes a TiDB Cloud Starter instance.
update-db-clusterUpdates a TiDB Cloud Starter instance.
delete-db-clusterDeletes a TiDB Cloud Starter instance.
create-db-cluster-branchCreates a branch for a TiDB Cloud Starter instance.
list-db-cluster-branchesLists branches for a TiDB Cloud Starter instance.
describe-db-cluster-branchDescribes a branch for a TiDB Cloud Starter instance.
delete-db-cluster-branchDeletes a branch from a TiDB Cloud Starter instance.
create-db-sql-usersCreates or repairs role-based SQL users.
format-db-connection-stringFormats stored SQL credentials as a connection string.
execute-sql-statementExecutes one SQL statement.

See also

Was this page helpful?