Google Cloud offers $300 in free credits for new customers. Try Cloud SQL for free.
MySQL is the world's most popular open source relational database. With Cloud SQL for MySQL, you can spend less time on your database operations and more time on your applications.
New customers get $300 in free credits to spend on Cloud SQL for MySQL. You won’t be charged until you upgrade.
Offers full compatibility for your MySQL applications on all major versions: 8.0, 5.7, and 5.6
Supports popular MySQL applications, such as WordPress, Drupal, and Magento
Integrated database observability for DevOps with Cloud SQL Insights
Integrates with services like Google Kubernetes Engine (GKE), BigQuery, and Cloud Functions
Simple and secure migrations with Database Migration Service
Key features
Continue to use the same administration tools, such as MySQL Workbench, mysqldump, phpMyAdmin, dbForge Studio, Toad Edge for MySQL, and the MySQL CLI, which is integrated in our Cloud SDK. Experience full support for all major versions of MySQL, and get access to nearly 200 flags to optimize your environment. Get started fast with easy, serverless migrations using Database Migration Service.
Cloud SQL automatically ensures your MySQL databases are reliable, secure, and scalable, so your business continues to run without disruption. Automate all your backups, failover, replication, software patching, and capacity increases—with up to a 99.99% availability SLA. Use high availability and business continuity to recover from an incident with zero data loss, backed by a world-class 24/7 SRE team. Cloud SQL offers near-zero downtime of less than 10 seconds for planned maintenance, with flexible maintenance windows.
You can access Cloud SQL from virtually any application. Easily connect from Google Compute Engine, Google Kubernetes Engine, or your workstation. Deliver change streams from your Oracle and MySQL databases into Cloud SQL with Datastream. Visualize your data with Looker. Open analytics possibilities by using BigQuery to directly query your databases.
Cloud SQL uses built-in software optimizations to reduce transaction commit latency and improve write throughput, and leverages flash memory on your database instance to lower read latency and improve throughput by intelligently caching data across memory and high speed storage. Your data is secured with automatic encryption at rest and in transit, with integrated support for customer-managed encryption keys, Cloud IAM database authentication, Virtual Private Cloud (VPC), and user-controlled network access with firewall protection to control public network access.
Quickly understand and resolve database performance issues on Cloud SQL for MySQL using Cloud SQL Insights. Identify the root cause of issues using pre-built dashboards and visual query plans. Quickly access database metrics and traces in existing tools using OpenTelemetry. Monitor databases through the lens of your applications using query tags.
Customers
What's new
Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.
Documentation
Learn about the major features and capabilities of Cloud SQL for MySQL.
An overview of the high availability (HA) configuration for Cloud SQL for MySQL instances.
Best practices for using Database Migration Service for migrating MySQL to Cloud SQL for MySQL.
Learn how to create and connect to a Google Cloud SQL MySQL instance and perform basic SQL operations using the Cloud Console and the MySQL client.
Learn how to use phpMyAdmin with Cloud SQL on App Engine standard environment.
Google Cloud’s Database Migration Service helps make database migrations to Cloud SQL simple and secure.
All features
Gemini in Databases | Simplify all aspects of the database journey with AI-powered assistance, helping teams focus on what matters most. Gemini in Cloud SQL, in preview, enables developers, operators, and database administrators to build applications quickly using natural language, and helps manage, optimize, and govern an entire fleet of databases with a single pane of glass. |
Compatibility | Build and deploy for the cloud faster because Cloud SQL offers standard MySQL databases, ensuring application compatibility. |
Fast, easy, and secure migrations | Database Migration Service makes it easy to migrate databases from on-premises, Compute Engine, and other clouds to Cloud SQL for MySQL with minimal downtime. |
Built-in high availability | Replicate your instance to another zone or region with just a click of a button. Leverage built-in HA to provide isolation from many types of infrastructure hardware, and software failures. |
Secure access and connectivity | Data is encrypted when on Google’s internal networks and when stored in database tables, temporary files, and backups. Cloud SQL supports private connectivity with Virtual Private Cloud (VPC), and every Cloud SQL for MySQL instance includes a network firewall, allowing you to control public network access to your database instance. |
Automatic backups and point-in-time recovery | Automate daily backups and binary logging to restore your instance to its state at an earlier point in time. |
Easy integration | Access Cloud SQL for MySQL instances from just about any application. Easily connect from App Engine, Compute Engine, Google Kubernetes Engine, and your workstation. Open up analytics possibilities by using BigQuery to directly query your Cloud SQL databases. |
Scalability | Easily scale up as your data grows—add up to 96 processor cores, 624 GB of RAM, and 60 TB of storage. Add read replicas to handle increasing read traffic. Automatic storage increases eliminate the need to estimating future storage needs or spend money on capacity before you need it. |
Maintenance on your terms | Fast, automated maintenance keeps your instances patched and stable. We notify you a week in advance—you can delay by up to a week based on your needs, and specify maintenance denial periods of up to 90 days. |
Vector Search | Cloud SQL for MySQL supports two search approaches for balancing speed/accuracy up to millions of vectors. Approximate nearest neighbor (ANN) vector search is ideal for large datasets where close matches suffice, while exact k-nearest neighbor (KNN) vector search is used for precision. Integrate it directly into an existing database for real-time search context without learning a separate system. |
LangChain integration | Easily build gen AI applications that are more accurate, transparent, and reliable with LangChain integration. Cloud SQL has three LangChain integrations - Document loader for loading and storing information from documents, Vector stores for enabling semantic search, and Chat Messages Memory for enabling chains to recall previous conversations. Visit the GitHub repository to learn more. |
Pricing
Cloud SQL for MySQL offers cost-effective options to fit every budget. Choose Cloud SQL Enterprise for general purpose workloads or Cloud SQL Enterprise Plus for high performance, business-critical workloads. Pricing varies with settings, including how much CPU, memory, and storage you provision.
Cloud SQL offers per-second billing and database instances are easy to stop and start.
Start building on Google Cloud with $300 in free credits and 20 always free products.