Skip to main content
Documentation
Technology areas
close
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Generative AI
Industry solutions
Networking
Observability and monitoring
Security
Storage
Cross-product tools
close
Access and resources management
Costs and usage management
Google Cloud SDK, languages, frameworks, and tools
Infrastructure as code
Migration
Related sites
close
Google Cloud Home
Free Trial and Free Tier
Architecture Center
Blog
Contact Sales
Google Cloud Developer Center
Google Developer Center
Google Cloud Marketplace
Google Cloud Marketplace Documentation
Google Cloud Skills Boost
Google Cloud Solution Center
Google Cloud Support
Google Cloud Tech Youtube Channel
/
English
Deutsch
Español – América Latina
Français
Indonesia
Italiano
Português – Brasil
中文 – 简体
中文 – 繁體
日本語
한국어
Console
Sign in
Cloud SQL
Guides
Reference
Samples
Resources
Contact Us
Start free
Documentation
Guides
Reference
Samples
Resources
Technology areas
More
Cross-product tools
More
Related sites
More
Console
Contact Us
Start free
Discover
Product overview
Introduction to Cloud SQL editions
Cloud SQL for MySQL features
Key terms
Get started
Connect from a Cloud Service
Quickstart: Connect from Cloud Shell
Quickstart: Connect from Cloud Run
Quickstart: Connect from Google Kubernetes Engine
Quickstart: Connect from App Engine standard environment
Quickstart: Connect from App Engine flexible environment
Quickstart: Connect from Compute Engine
Quickstart: Connect using private IP
Quickstart: Connect using the Cloud SQL Auth proxy
Quickstart: Connect from your local computer
Create and manage
Instances
Create instances
Edit instances
Clone instances
Start, stop, and restart instances
Label instances
Delete instances
Prevent deletion of an instance
View instance information
Manage instance locations
Manage connectivity tests
Manage maintenance updates
Maintenance updates on instances
View and set maintenance windows
Perform self-service maintenance
Upgrade
Upgrade an instance to Cloud SQL Enterprise Plus edition
Upgrade an instance by using in-place upgrade
Upgrade an instance by using IP allowlists
Upgrade an instance by using VPC peering
Upgrade an instance to the new network architecture
Upgrade the database major version
Upgrade the database major version in-place
Known issues with in-place major version upgrade to MySQL 8.0
Upgrade the database major version by migrating data
Upgrade the database minor version
Use best practices
General best practices
Operational guidelines
Databases
Create and manage databases
Update the character set and collation for a database
Users
About MySQL users
Cloud SQL built-in database authentication
Manage users with built-in authentication
Manage your data using Cloud SQL Studio
Write SQL with Gemini Assistance
Manage your resources using Dataplex Universal Catalog
Configure
Configure database flags
About instance settings
Data cache overview
Machine series overview
Region availability overview
Storage options overview
Secure and control access
Overview
About access control
Data residency overview
Use Secret Manager to handle secrets in Cloud SQL
Organization policies
Cloud SQL organization policies
Add predefined organization policies
Add custom organization policies
Identity and Access Management (IAM)
IAM authentication
Roles and permissions
Use IAM Conditions
Configure instances for IAM database authentication
Manage users with IAM database authentication
Log in using IAM database authentication
Fine-grained access control with tags
Access control with Google Cloud tags
Attach and manage tags on Cloud SQL instances
Use encryption
About client-side encryption
About customer-managed encryption keys (CMEK)
Use customer-managed encryption keys (CMEK)
Audit
Audit logs
MySQL database auditing
Use MySQL database auditing
Configure VPC Service Controls
Connect
Choose how to connect to Cloud SQL
Authorize with authorized networks
Connect to an instance using public IP
Configure public IP
Connect to an instance using private IP
Learn about using private IP
Configure private IP
Configure private services access
Connect to an instance using a write endpoint
Private Service Connect overview
Connect to an instance using Private Service Connect
Configure both private services access and Private Service Connect
Connect to your instance across Multiple VPCs
Connect using SSL/TLS certificates
Authorize with SSL/TLS certificates
Configure SSL/TLS certificates
Manage SSL/TLS certificates
Use a customer-managed certificate authority (CA)
Set up a custom DNS name
Connect using Cloud SQL Language Connectors
Cloud SQL Language Connectors overview
Connect using the Cloud SQL Language Connectors
Connect using the Cloud SQL Auth Proxy
About the Cloud SQL Auth Proxy
Connect using the Cloud SQL Auth Proxy
Connect using Cloud SQL Proxy Operator
Use Managed Connection Pooling
Managed Connection Pooling overview
Configure Managed Connection Pooling
Connect from applications
Connect using a MySQL client
Connect from Cloud Run
Connect from Cloud Functions
Connect from App Engine (Standard)
Use phpMyAdmin on App Engine
Use phpMyAdmin on Cloud Run
Connect from App Engine (Flexible)
Connect from Compute Engine
Connect from Kubernetes Engine
Connect from Cloud Build
Manage database connections
Connect from other MySQL tools
Connect to an instance from outside its VPC
Replicate
About replication in Cloud SQL
Create and manage replicas
Create read replicas
Manage read replicas
Create and manage indexes on read replicas
Promote replicas for regional migration or disaster recovery
Replication lag
Create and manage read pools
About read pools
Create a read pool
Configure external replicas
Replicate from an external server
About replicating from an external server
Configure Cloud SQL and the external server for replication
Use a managed import to set up replication from external databases
Use a dump file to set up replication from external databases
Use a custom import to set up replication from large external databases
Migrate data
About data migration in Cloud SQL
Migrate from a Percona XtraBackup physical file
Migrate from Cloud SQL to an external server
Availability and disaster recovery (DR)
Availability in Cloud SQL
About high availability
Enable and disable high availability
Legacy configuration for high availability
About disaster recovery (DR)
Use advanced disaster recovery (DR)
Back up and restore
Back up an instance
About Cloud SQL backups
Manage Enhanced backups
Manage Standard backups
Create and manage on-demand and automatic backups
Manage final backups
Manage retained backups
View audit logs for automated backups
Schedule Cloud SQL database backups
Restore an instance
About restoring an instance
Restore an instance
Use point-in-time recovery (PITR)
Import and export
Best practices for importing and exporting data
Export and import using SQL dump files
Export and import using CSV files
Export and import files in parallel
Cancel the import and export of data
Check the status of import and export operations
Develop
Build generative AI applications using Cloud SQL
Integrate Cloud SQL with Vertex AI
Invoke online predictions from Cloud SQL instances
Understand an example of an embedding workflow
Build LLM-powered applications using LangChain
Interact with custom models using model endpoint management
Overview
Register a model
Generate embeddings
Invoke predictions
Model endpoint management reference
Vector search
Vector search
Enable and disable vector embeddings
Generate and manage vector embeddings
Create and manage vector indexes
Search and filter with vector embeddings
Work with vector embeddings (Preview)
Generate database-aware code with the Google Databases Gemini tool
Connect your IDE to Cloud SQL
Use saved queries
Overview
Create and manage saved queries
Observe and troubleshoot
About database observability
Observe and troubleshoot with AI assistance
Query performance
Use query insights
Use index advisor
Monitor active queries
Troubleshoot slow queries with AI assistance
System performance
Monitor instances
View instance logs
Use system insights
Troubleshoot high database load with AI assistance
Apply recommendations
Create indexes or reconfigure join settings
Disable public IP
Enable database auditing
Enable high availability
Enforce SSL/TLS encryption
Improve performance with Enterprise Plus
Increase the table open cache
Manage open tables and open table definitions
Manage high number of tables
Monitor disk availability
Optimize high CPU usage
Optimize high memory usage
Optimize instances with high number of out-of-memory events
Prevent data loss by enabling automated backups
Prevent data loss by increasing backup retention
Reconfigure connection settings
Reconfigure log settings
Reconfigure temporary table settings
Reduce idle Cloud SQL instances
Reduce overprovisioned Cloud SQL instances
Reduce underprovisioned Cloud SQL instances
Remove authorized networks
Remove broad public IP ranges
Rotate server certificates
Set instance password policies
Set user password policies
Use Looker with Cloud SQL
Troubleshoot
Known issues
Troubleshoot
Error messages
Debug connection issues
Diagnose issues
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Generative AI
Industry solutions
Networking
Observability and monitoring
Security
Storage
Access and resources management
Costs and usage management
Google Cloud SDK, languages, frameworks, and tools
Infrastructure as code
Migration
Google Cloud Home
Free Trial and Free Tier
Architecture Center
Blog
Contact Sales
Google Cloud Developer Center
Google Developer Center
Google Cloud Marketplace
Google Cloud Marketplace Documentation
Google Cloud Skills Boost
Google Cloud Solution Center
Google Cloud Support
Google Cloud Tech Youtube Channel
Home