File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,16 @@ gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-sql
4848Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a ` .env ` file.
4949This configuration is not required if utilizing the [ Admin toolset] ( #supported-tools ) .
5050
51- * ` CLOUD_SQL_MSSQL_PROJECT ` : The GCP project ID.
52- * ` CLOUD_SQL_MSSQL_REGION ` : The region of your Cloud SQL instance.
53- * ` CLOUD_SQL_MSSQL_INSTANCE ` : The ID of your Cloud SQL instance.
54- * ` CLOUD_SQL_MSSQL_DATABASE ` : The name of the database to connect to.
55- * ` CLOUD_SQL_MSSQL_IP_ADDRESS ` : The IP address of the Cloud SQL instance.
56- * ` CLOUD_SQL_MSSQL_USER ` : The database username.
57- * ` CLOUD_SQL_MSSQL_PASSWORD ` : The password for the database user.
58- * ` CLOUD_SQL_MSSQL_IP_TYPE ` : (Optional) The IP type i.e. “Public” or “Private” (Default: Public).
51+ ``` bash
52+ export CLOUD_SQL_MSSQL_PROJECT=" <your-gcp-project-id>"
53+ export CLOUD_SQL_MSSQL_REGION=" <your-cloud-sql-region>"
54+ export CLOUD_SQL_MSSQL_INSTANCE=" <your-cloud-sql-instance-id>"
55+ export CLOUD_SQL_MSSQL_DATABASE=" <your-database-name>"
56+ export CLOUD_SQL_MSSQL_IP_ADDRESS=" <your-instance-ip-address>"
57+ export CLOUD_SQL_MSSQL_USER=" <your-database-user>"
58+ export CLOUD_SQL_MSSQL_PASSWORD=" <your-database-password>"
59+ export CLOUD_SQL_MSSQL_IP_TYPE=" PUBLIC" # Optional: `PUBLIC`, `PRIVATE`. Defaults to `PUBLIC`.
60+ ```
5961
6062Ensure [ Application Default Credentials] ( https://cloud.google.com/docs/authentication/gcloud ) are available in your environment.
6163
You can’t perform that action at this time.
0 commit comments