Skip to main content
Technology areas
close
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Industry solutions
Migration
Networking
Observability and monitoring
Security
Storage
Cross-product tools
close
Access and resources management
Costs and usage management
Infrastructure as code
SDK, languages, frameworks, and tools
/
Console
English
Deutsch
Español
Español – América Latina
Français
Indonesia
Italiano
Português
Português – Brasil
עברית
中文 – 简体
中文 – 繁體
日本語
한국어
Sign in
Cloud SQL
MySQL
Start free
Overview
Guides
Reference
Samples
Resources
Technology areas
More
Overview
Guides
Reference
Samples
Resources
Cross-product tools
More
Console
Cloud SQL for MySQL
All APIs and reference
Error codes
Metrics
Cloud SQL metrics
REST Reference
Cloud SQL Admin API
v1
REST Resources
Backups
Overview
CreateBackup
DeleteBackup
GetBackup
ListBackups
UpdateBackup
backupRuns
Overview
delete
get
insert
list
connect
Overview
generateEphemeralCert
get
resolve
databases
Overview
delete
get
insert
list
patch
update
flags
Overview
list
instances
Overview
ListServerCertificates
RotateServerCertificate
addServerCa
addServerCertificate
clone
delete
demote
demoteMaster
executeSql
export
failover
get
import
insert
list
listServerCas
patch
pointInTimeRestore
promoteReplica
reencrypt
resetSslConfig
restart
restoreBackup
rotateServerCa
startReplica
stopReplica
switchover
truncateLog
update
operations
Overview
cancel
get
list
projects.instances
Overview
getDiskShrinkConfig
getLatestRecoveryTime
performDiskShrink
rescheduleMaintenance
startExternalSync
verifyExternalSyncSettings
sslCerts
Overview
createEphemeral
delete
get
insert
list
tiers
Overview
list
users
Overview
delete
get
insert
list
update
Types
ApiWarning
BakType
ConnectSettings
DiskEncryptionConfiguration
DiskEncryptionStatus
ExternalSyncMode
ExternalSyncParallelLevel
MigrationType
MySqlSyncConfig
OperationError
SqlBackupKind
SqlDatabaseVersion
v1beta4
REST Resources
backupRuns
Overview
delete
get
insert
list
backups
Overview
createBackup
deleteBackup
getBackup
listBackups
updateBackup
connect
Overview
generateEphemeralCert
get
resolve
databases
Overview
delete
get
insert
list
patch
update
flags
Overview
list
instances
Overview
ListServerCertificates
RotateServerCertificate
addServerCa
addServerCertificate
clone
delete
demote
demoteMaster
executeSql
export
failover
get
import
insert
list
listServerCas
patch
pointInTimeRestore
preCheckMajorVersionUpgrade
promoteReplica
reencrypt
resetSslConfig
restart
restoreBackup
rotateServerCa
startReplica
stopReplica
switchover
truncateLog
update
operations
Overview
cancel
get
list
projects.instances
Overview
getDiskShrinkConfig
getLatestRecoveryTime
performDiskShrink
rescheduleMaintenance
startExternalSync
verifyExternalSyncSettings
sslCerts
Overview
createEphemeral
delete
get
insert
list
tiers
Overview
list
users
Overview
delete
get
insert
list
update
Types
BakType
ConnectSettings
DiskEncryptionConfiguration
DiskEncryptionStatus
ExternalSyncMode
ExternalSyncParallelLevel
MigrationType
MySqlSyncConfig
OperationError
SqlBackupKind
SqlDatabaseVersion
MCP reference
Overview
Cloud SQL server
Overview
Tools
list_instances
get_instance
create_instance
execute_sql
execute_sql_readonly
get_operation
create_user
update_user
clone_instance
update_instance
create_backup
restore_backup
list_users
import_data
postgres_upgrade_precheck
Database Insights server
Overview
Tools
get_query_metrics
get_system_metrics
API overview
Use the Cloud SQL Admin API
API basics
Authorize requests
Performance tips
Client libraries and sample code
SQL reference
Data Definition Language (DDL)
Functions
Information schema
Stored procedures
Supported operations for database audit
Launch checklist
gcloud sql
About the gcloud CLI
gcloud sql
Cloud IAM references for Cloud SQL
Cloud SQL permissions
Cloud SQL roles
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Industry solutions
Migration
Networking
Observability and monitoring
Security
Storage
Access and resources management
Costs and usage management
Infrastructure as code
SDK, languages, frameworks, and tools