github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/docs/user_docs/connect_database/overview-of-database-connection.md (about) 1 --- 2 title: Connect database from anywhere 3 description: How to connect to a database 4 keywords: [connect to a database] 5 sidebar_position: 1 6 sidebar_label: Overview 7 --- 8 9 # Overview of Database Connection 10 11 After the deployment of KubeBlocks and creating clusters, the database runs on Kubernetes as a Pod. You can connect to the database via a client interface or `kbcli`. 12 As the figure below indicates, you must be clear with the purpose of connecting the database. 13 14 - To take a trial of KubeBlocks, and test the database function, or benchmarking with low-flow testing, see [Connect database in a testing environment](connect-database-in-testing-environment.md). 15 - To connect a database in a production environment, or for a high-flow pressure test, see [Connect database in a production environment](connect-database-in-production-environment.md). 16 17 