8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 34 MySQL on OCI Marketplace / 34.2 Deploying MySQL EE on Oracle Cloud Infrastructure
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 58%

34.2 在 Oracle 云基础设施上部署 MySQL EE34.2 Deploying MySQL EE on Oracle Cloud Infrastructure

要在 Oracle 云基础设施上部署 MySQL EE,请执行以下操作:To deploy MySQL EE on Oracle Cloud Infrastructure, do the following:

  1. 打开 OCI Marketplace 并搜索 MySQL。Open the OCI Marketplace and search for MySQL.

    显示 MySQL 列表。The MySQL listings are displayed.

  2. 选择 MySQL 企业版。Select MySQL Enterprise Edition.

    显示 MySQL 企业版 概览。The MySQL Enterprise Edition overview is displaed.

  3. 点击 启动实例 开始应用程序启动过程。Click Launch Instance to begin the application launch process.

    显示 创建计算实例 对话框。The Create Compute Instance dialog is displayed.

    请参阅 创建 Linux 实例 了解如何填写各字段的信息。See To create a Linux instance for information on how to complete the fields.

默认情况下,MySQL 服务器监听端口 3306,并配置有一个用户 root。By default, the MySQL server listens on port 3306 and is configured with a single user, root.

Important

部署完成并启动 MySQL 服务器后,您必须连接到计算实例并检索写入 MySQL 日志文件的默认 root 密码。When the deployment is complete, and the MySQL server is started, you must connect to the compute instance and retrieve the default root password which was written to the MySQL log file.

请参阅 使用 SSH 连接 了解更多信息。See Connecting with SSH for more information.

安装了以下 MySQL 软件:The following MySQL software is installed:

  • MySQL Server EE

  • MySQL Enterprise 备份MySQL Enterprise Backup

  • MySQL Shell

  • MySQL Router

MySQL 配置MySQL Configuration

出于安全考虑,已启用以下功能:For security, the following are enabled:

启用以下 MySQL 插件:The following MySQL plugins are enabled:

  • thread_pool

  • validate_password

启动时发生以下操作:On startup, the following occurs:

  • MySQL 服务器读取 /etc/my.cnf 以及 /etc/my.cnf.d/ 中所有名为 *.cnf 的文件。MySQL Server reads /etc/my.cnf and all files named *.cnf in /etc/my.cnf.d/.

  • /etc/my.cnf.d/perf-tuning.cnf 是由 /usr/bin/mkcnf 根据所选的 OCI 形状创建的。/etc/my.cnf.d/perf-tuning.cnf is created by /usr/bin/mkcnf based on the selected OCI shape.

    Note

    要禁用此机制,请删除 /etc/systemd/system/mysqld.service.d/perf-tuning.conf。To disable this mechanism, remove /etc/systemd/system/mysqld.service.d/perf-tuning.conf.

    性能调优已为以下形状配置:Performance tuning is configured for the following shapes:

    • VM.Standard2.1

    • VM.Standard2.2

    • VM.Standard2.4

    • VM.Standard2.8

    • VM.Standard2.16

    • VM.Standard2.24

    • VM.Standard.E2.1

    • VM.Standard.E2.2

    • VM.Standard.E2.4

    • VM.Standard.E2.8

    • VM.Standard.E3.Flex

    • VM.Standard.E4.Flex

    • BM.Standard2.52

    Important

    对于所有其他形状,使用 VM.Standard2.1 的调优。For all other shapes, the tuning for VM.Standard2.1 is used.