Skip to content

Cloud SQL

Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL, and SQL Server. This frees you from database administration tasks so that you have more time to manage your data.

What Cloud SQL provides?

Cloud SQL offers many services so you don't have to build and maintain them yourself. You can focus on your data and let Cloud SQL handle the following operations:

Database configurations with Cloud SQL

The following video shows you the benefits of using Cloud SQL. It also demonstrates how to do the following:
Create a Cloud SQL instance
Create database tables and import .sql data from Cloud Storage
Explore data with SQL statements
Connect to BigQuery Federated Queries and Data Studio
Connect to Compute Engine using the Cloud SQL Auth proxy (previously called the Cloud SQL proxy)

Use cases for Cloud SQL

Cloud SQL provides a cloud-based alternative to local MySQL, PostgreSQL, and SQL Server databases. You should use Cloud SQL if you want to spend less time managing your database and more time using it.
Many applications running on Compute Engine, App Engine and other services in Google Cloud use Cloud SQL for database storage.

Connect to a Cloud SQL managed database

Connecting to a Cloud SQL managed database is similar to connecting to a self-managed database. Depending on how you configure it, your Cloud SQL instance has a public IP address (which can be accessed from outside of Google Cloud, using the internet), or a private IP address (which can only be accessed through a ). In addition, Cloud SQL provides different authorization options to control who is allowed to connect to your instance, such as the .
For more details on how to connect, authorize, and authenticate to your Cloud SQL instance, see the page.

image.png
image.png
image.png
image.png
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.