Stay organized with collectionsSave and categorize content based on your preferences.
Overview
Cloud SQL for MySQL is a fully-managed database service that makes it easy to
set up, maintain, manage, and administer your MySQL relational databases on
Google Cloud. For information specific to MySQL, see theMySQL documentation.
Many configuration settings go into the creation of a Cloud SQL instance.
Your needs may vary from the defaults.
See theCreating instancesandInstance settingspages for
more information.
Connectivity
Cloud SQL offersconnectivitythroughpublicIP addresses,privateIP addresses, or both
public and private addresses.
Cloud SQL recommends usingSSL/TLS
certificateswhen connecting to a Cloud SQL instance.
Cloud SQL users
The first time you connect to a new Cloud SQL instance, use therootaccount.
Because it's a managed service, Cloud SQL doesn't allow MySQL users to haveSUPERprivileges.
Cascading read replicas
Database Migration Service lets you migrate data to a Cloud SQL destination instance,
and then set up cascading read replicas for that instance. For more information,
seeSet up cascading read replicas.
High availability
After youpromotea Cloud SQL replica to become a primary instance, you can configure it forhigh availability (HA). If your
HA-configured instance becomes unresponsive, then Cloud SQL automatically
switches to serving data from a standby instance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eCloud SQL for MySQL is a fully-managed database service on Google Cloud that simplifies setting up, maintaining, and managing MySQL databases.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL provides comprehensive documentation for users, and new users should review the features page for Cloud SQL for MySQL.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL instances have various configurable settings, and users can refer to documentation for creating instances and instance settings.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL supports connectivity through public IP addresses, private IP addresses, or both, and it is recommended to use SSL/TLS certificates.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL allows users to set up cascading read replicas after migrating data to a Cloud SQL instance and provides high availability by automatically switching to a standby instance if the primary becomes unresponsive.\u003c/p\u003e\n"]]],[],null,["# Cloud SQL for MySQL\n\n\u003cbr /\u003e\n\nOverview\n--------\n\nCloud SQL for MySQL is a fully-managed database service that makes it easy to\nset up, maintain, manage, and administer your MySQL relational databases on\nGoogle Cloud. For information specific to MySQL, see the\n[MySQL documentation](https://dev.mysql.com/doc/refman/5.7/en/).\n\nFeatures\n--------\n\nCloud SQL provides extensive [documentation](/sql/docs). If you're\nnew to Cloud SQL for MySQL, then be sure to check out the\n[Cloud SQL for MySQL features](/sql/docs/mysql/features) page.\n\nInstance settings\n-----------------\n\nMany configuration settings go into the creation of a Cloud SQL instance.\nYour needs may vary from the defaults.\nSee the [Creating instances](/sql/docs/mysql/create-instance)\nand [Instance settings](/sql/docs/mysql/instance-settings) pages for\nmore information.\n\nConnectivity\n------------\n\nCloud SQL offers [connectivity](/sql/docs/mysql/connect-overview)\nthrough [public](/sql/docs/mysql/configure-ip) IP addresses,\n[private](/sql/docs/mysql/configure-private-ip) IP addresses, or both\npublic and private addresses.\n\nCloud SQL recommends using [SSL/TLS\ncertificates](/sql/docs/mysql/authorize-ssl) when connecting to a Cloud SQL instance.\n\nCloud SQL users\n---------------\n\nThe first time you connect to a new Cloud SQL instance, use the\n`root` account.\n\nBecause it's a managed service, Cloud SQL doesn't allow MySQL users to have\n`SUPER` privileges.\n\nCascading read replicas\n-----------------------\n\nDatabase Migration Service lets you migrate data to a Cloud SQL destination instance,\nand then set up cascading read replicas for that instance. For more information,\nsee [Set up cascading read replicas](/database-migration/docs/mysql/set-up-cascading-replica).\n\nHigh availability\n-----------------\n\nAfter you [promote](/database-migration/docs/mysql/promote-migration)\na Cloud SQL replica to become a primary instance, you can configure it for\n[high availability (HA)](/sql/docs/mysql/high-availability). If your\nHA-configured instance becomes unresponsive, then Cloud SQL automatically\nswitches to serving data from a standby instance.\n\nWhat's next\n-----------\n\nLearn more about [everything you can do](/sql/docs/mysql/how-to)\nwith your Cloud SQL instance."]]