[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[],[],null,["*** ** * ** ***\n\nMySQL is one of the most popular open source relational databases, offering\nrobust transaction processing at low costs. For a general overview of MySQL, see\n[What is MySQL](/mysql).\n\nThere are several ways that you can deploy MySQL as part of your\nGoogle Cloud project:\n\n- *Cloud SQL* offers MySQL as a web service. You can use Cloud SQL to host your MySQL database in Google's cloud, and let Google Cloud handle administrative duties like replication, patch management, and database management. For an overview, see [Cloud SQL overview](/sql/docs/introduction).\n- *Google Cloud Marketplace* lets you click to install MySQL onto a\n Compute Engine instance. To browse available MySQL installation\n options from Cloud Marketplace in the Google Cloud console:\n\n [Go to Cloud Marketplace](https://console.cloud.google.com/marketplace/browse?q=mysql)\n- You can *manually install and customize* MySQL on Compute Engine. For\n manual installation instructions, see\n [Install MySQL on Compute Engine](/compute/docs/instances/mysql/setup-mysql). To optimize your configuration of\n MySQL, follow the guide at [Configure MySQL on Compute Engine]().\n\nChoose the best MySQL deployment option for your needs\n\nTo understand which MySQL deployment option best fits your needs, consider the\noptions as follows:\n\nTry Cloud SQL (recommended)\n\nIf you want the convenience of having Google Cloud take care of the\nbackend database and server administration chores, we recommend that you use\n[Cloud SQL](/sql/docs/introduction).\nCloud SQL provides the following advantages:\n\n- Automated backups\n- Point-in-time recovery\n- Replication of your data across multiple [zones](/docs/geography-and-regions) for greater availability and resiliency.\n\nIf you require MySQL features that Cloud SQL doesn't support, such as\nuser defined functions or the SUPER privilege, you can explore the options that\nfollow. For more information about the features that Cloud SQL\nsupports, see the\n[Cloud SQL FAQ](/sql/faq#supportmysqlfeatures).\n\nExplore Google Cloud Marketplace deployment options\n\nCloud Marketplace offers several options for MySQL installations,\nincluding:\n\n- A standalone MySQL installation\n- LAMP stacks\n- LEMP stacks\n- Nginx stacks\n- A Percona MySQL Cluster installation\n\nBrowse available MySQL installation options from Cloud Marketplace in\nthe Google Cloud console:\n\n[Go to Google Cloud Marketplace](https://console.cloud.google.com/marketplace/browse?q=mysql)\n\nManually install MySQL\n\nIf the previous options don't fit your requirements, such as if you want to\ndeploy MySQL on a custom image you created, or if you want complete control of\nthe installation process, you can manually install MySQL by creating a\nCompute Engine instance and installing MySQL directly onto it. For more\ndetailed instructions, see\n[Install MySQL on Compute Engine](/compute/docs/instances/mysql/setup-mysql).\n\nWhat's next\n\n- For best practices and tips for running MySQL workloads on Compute Engine, see [Configure MySQL on Compute Engine](/compute/docs/instances/mysql/mysql-workloads).\n- For more information about Cloud SQL, see the [Cloud SQL for MySQL documentation](/sql/docs/mysql).\n- Browse the MySQL installation options from Cloud Marketplace in the\n Google Cloud console:\n\n [Go to Cloud Marketplace](https://console.cloud.google.com/marketplace/browse?q=mysql)\n- To manually install MySQL on a Compute Engine instance, see\n [Install MySQL on Compute Engine](/compute/docs/instances/mysql/setup-mysql)."]]