Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
MySQL ist eine der beliebtesten relationalen Open-Source-Datenbanken und bietet eine robuste Transaktionsverarbeitung zu geringen Kosten. Eine allgemeine Übersicht über MySQL finden Sie unter Was ist MySQL?
Es gibt mehrere Möglichkeiten, MySQL als Teil IhresGoogle Cloud -Projekts bereitzustellen:
Cloud SQL bietet MySQL als Webdienst an. Sie können Cloud SQL verwenden, um Ihre MySQL-Datenbank in der Google-Cloud zu hosten und Google Cloud administrative Aufgaben wie Replikation, Patch- und Datenbankverwaltung zu überlassen. Eine Übersicht finden Sie unter Cloud SQL – Übersicht.
Im Google Cloud Marketplace können Sie MySQL per Klick auf einer Compute Engine-Instanz installieren. So suchen Sie in der Console nach verfügbaren MySQL-Installationsoptionen aus dem Cloud Marketplace: Google Cloud
Um herauszufinden, welche MySQL-Bereitstellungsoption Ihren Anforderungen am besten entspricht, sollten Sie die folgenden Optionen berücksichtigen:
Cloud SQL testen (empfohlen)
Wenn Sie möchten, dass sich Google Cloud um die Backend-Datenbank und die Serveradministration kümmert, empfehlen wir die Verwendung von Cloud SQL.
Cloud SQL bietet folgende Vorteile:
Automatische Sicherungen
Wiederherstellung zu einem bestimmten Zeitpunkt
Replikation Ihrer Daten über mehrere Zonen für eine höhere Verfügbarkeit und Ausfallsicherheit.
Wenn Sie MySQL-Funktionen benötigen, die von Cloud SQL nicht unterstützt werden, z. B. benutzerdefinierte Funktionen oder die SUPER-Berechtigung, können Sie die folgenden Optionen ausprobieren. Weitere Informationen zu den von Cloud SQL unterstützten Funktionen finden Sie in den häufig gestellten Fragen zu Cloud SQL.
Bereitstellungsoptionen für den Google Cloud Marketplace
Cloud Marketplace bietet mehrere Optionen für MySQL-Installationen, darunter:
Eine eigenständige MySQL-Installation
LAMP-Stacks
LEMP-Stacks
Nginx-Stacks
Percona MySQL Cluster-Installation
In der Google Cloud Console können Sie die verfügbaren MySQL-Installationsoptionen im Cloud Marketplace ansehen:
Wenn die vorherigen Optionen nicht Ihren Anforderungen entsprechen, z. B. wenn Sie MySQL auf einem von Ihnen erstellten benutzerdefinierten Image bereitstellen oder vollständige Kontrolle über den Installationsvorgang haben möchten, können Sie MySQL manuell installieren. Dazu erstellen Sie eine Compute Engine-Instanz und installieren MySQL direkt darauf. Eine ausführliche Anleitung finden Sie unter MySQL in Compute Engine installieren.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[],[],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)."]]