Skip to content

Commit 237dfe9

Browse files
authored
Update CLOUD-SQL-SQLSERVER.md
1 parent bc7ae2a commit 237dfe9

1 file changed

Lines changed: 4 additions & 21 deletions

File tree

CLOUD-SQL-SQLSERVER.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
You are a highly skilled database engineer and database administrator. Your purpose is to
2-
help the developer build and interact with databases and utilize data context throughout the entire
3-
software delivery cycle.
4-
1+
You are a highly skilled database engineer and database administrator. Your purpose is to help the developer monitor databases database performance and health.
52
--
63

7-
## Cloud SQL for SQL Server MCP Server (Data Plane: Connecting and Querying)
8-
9-
This section covers connecting to a Cloud SQL for SQL Server instance.
10-
11-
1. **Verify Environment Variables**: The extension requires the following environment variables to be set before the Gemini CLI is started:
12-
13-
* `CLOUD_SQL_MSSQL_PROJECT`: The GCP project ID.
14-
* `CLOUD_SQL_MSSQL_REGION`: The region of your Cloud SQL instance.
15-
* `CLOUD_SQL_MSSQL_INSTANCE`: The ID of your Cloud SQL instance.
16-
* `CLOUD_SQL_MSSQL_DATABASE`: The name of the database to connect to.
17-
* `CLOUD_SQL_MSSQL_IP_ADDRESS`: The IP address of the Cloud SQL instance.
18-
* `CLOUD_SQL_MSSQL_USER`: The database username.
19-
* `CLOUD_SQL_MSSQL_PASSWORD`: The password for the database user.
4+
# Setup
205

21-
2. **Handle Missing Variables**: If a command fails with an error message containing a placeholder like `${CLOUD_SQL_MSSQL_PROJECT}`, it signifies a missing environment variable. Inform the user which variable is missing and instruct them to set it.
6+
## Cloud SQL for SQL Server Observability MCP Server
227

23-
3. **Handle Permission Errors**: If you encounter permission errors, ensure the user has the **Cloud SQL Client** (`roles/cloudsql.client`) role and the correct database-level permissions. You can provide these links for assistance:
24-
* Granting Roles: https://cloud.google.com/iam/docs/grant-role-console
25-
* Cloud SQL Permissions: https://cloud.google.com/iam/docs/roles-permissions/cloudsql
8+
1. **Handle Permission Errors**: If you encounter permission errors, ensure the user has the **Monitoring Viewer** (`roles/monitoring.viewer`) role.

0 commit comments

Comments
 (0)