[ Web Proxy ]
URL:
Viewing: https://docs.cloud.google.com/sql/docs/sqlserver/cloud-sdk [Back]  [Original]

About the gcloud CLI  |  Cloud SQL for SQL Server  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

About the gcloud CLI Stay organized with collections Save and categorize content based on your preferences.

This page describes how to get started with the gcloud CLI so you can use it to manage Cloud SQL instances. The gcloud CLI uses the Cloud SQL Admin API to access Cloud SQL, so you must enable the API before you can use the gcloud CLI to access Cloud SQL.

For gcloud examples, see the How-to page for the task.

Getting started with the gcloud CLI

To start with the gcloud CLI, review the gcloud CLI Documentation. You can get help for the tool, resources, and commands by using the --help flag:

gcloud sql --help
gcloud sql instances --help
gcloud sql instances create --help

The help displayed with the --help flag is also available in the gcloud CLI reference for gcloud sql.

Finally, configure a project as your default project with two commands. The first command below lists the configuration for the gcloud CLI, including any default project already set. The second command sets the default project.

gcloud config list
gcloud config set project [PROJECT_ID]
Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-19 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-19 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page