要在 Oracle 云基础设施上部署 MySQL EE,请执行以下操作:To deploy MySQL EE on Oracle Cloud Infrastructure, do the following:
打开 OCI Marketplace 并搜索 MySQL。Open the OCI Marketplace and search for MySQL.
显示 MySQL 列表。The MySQL listings are displayed.
选择 MySQL 企业版。Select MySQL Enterprise Edition.
显示 MySQL 企业版 概览。The MySQL Enterprise Edition overview is displaed.
点击 启动实例 开始应用程序启动过程。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.
部署完成并启动 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
出于安全考虑,已启用以下功能:For security, the following are enabled:
SELinux: 欲了解更多信息,请参阅 配置和使用 SELinuxSELinux: for more information, see Configuring and Using SELinux
firewalld: 欲了解更多信息,请参阅 控制 firewalld 防火墙服务firewalld: for more information, see Controlling the firewalld Firewall Service
启用以下 MySQL 插件:The following MySQL plugins are enabled:
thread_poolvalidate_password
启动时发生以下操作:On startup, the following occurs:
MySQL 服务器读取
/etc/my.cnf以及/etc/my.cnf.d/中所有名为的文件。MySQL Server reads*.cnf/etc/my.cnfand all files namedin*.cnf/etc/my.cnf.d/./etc/my.cnf.d/perf-tuning.cnf是由/usr/bin/mkcnf根据所选的 OCI 形状创建的。/etc/my.cnf.d/perf-tuning.cnfis created by/usr/bin/mkcnfbased 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.