File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,15 @@ gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-mys
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_MYSQL_PROJECT ` : The GCP project ID.
52- * ` CLOUD_SQL_MYSQL_REGION ` : The region of your Cloud SQL instance.
53- * ` CLOUD_SQL_MYSQL_INSTANCE ` : The ID of your Cloud SQL instance.
54- * ` CLOUD_SQL_MYSQL_DATABASE ` : The name of the database to connect to.
55- * ` CLOUD_SQL_MYSQL_USER ` : The database username.
56- * ` CLOUD_SQL_MYSQL_PASSWORD ` : The password for the database user.
57- * ` CLOUD_SQL_MYSQL_IP_TYPE ` : (Optional) The IP type i.e. “Public”, “Private”, or "PSC" (Default: Public).
51+ ``` bash
52+ export CLOUD_SQL_MYSQL_PROJECT=" <your-gcp-project-id>"
53+ export CLOUD_SQL_MYSQL_REGION=" <your-cloud-sql-region>"
54+ export CLOUD_SQL_MYSQL_INSTANCE=" <your-cloud-sql-instance-id>"
55+ export CLOUD_SQL_MYSQL_DATABASE=" <your-database-name>"
56+ export CLOUD_SQL_MYSQL_USER=" <your-database-user>"
57+ export CLOUD_SQL_MYSQL_PASSWORD=" <your-database-password>"
58+ export CLOUD_SQL_MYSQL_IP_TYPE=" PUBLIC" # Optional: `PUBLIC`, `PRIVATE`, `PSC`. Defaults to `PUBLIC`.
59+ ```
5860
5961Ensure [ Application Default Credentials] ( https://cloud.google.com/docs/authentication/gcloud ) are available in your environment.
6062
You can’t perform that action at this time.
0 commit comments