This guide provides an overview of how to connect to a Cloud SQL instance using the Cloud SQL Connect tool.

Prerequisites

  • A Cloud SQL instance.
  • The Cloud SQL Connect tool installed on your local machine.
  • Access to your Cloud SQL instance's credentials.

Connecting to Cloud SQL

  1. Open Cloud SQL Connect: Launch the Cloud SQL Connect application on your local machine.
  2. Enter Credentials: Enter the connection details for your Cloud SQL instance, including the instance connection name, username, and password.
  3. Connect: Click the "Connect" button to establish a connection to your Cloud SQL instance.

Cloud SQL Connect

Using Cloud SQL Connect

Once connected, you can perform various operations such as:

  • Run SQL Queries: Execute SQL queries directly from the Cloud SQL Connect interface.
  • Manage Databases: Create, modify, and delete databases.
  • Manage Users: Create, modify, and delete database users.
  • Export Data: Export data from your Cloud SQL instance to a file.

For more detailed instructions on using Cloud SQL Connect, please refer to the official documentation.

Cloud SQL Connect Interface