若要在 Oracle Cloud Infrastructure 上部署 MySQL EE,請執行下列操作:
開啟 OCI Marketplace 並搜尋 MySQL。
將會顯示 MySQL 清單。
選取 MySQL Enterprise Edition。
將會顯示 MySQL Enterprise Edition 概觀。
按一下 啟動執行個體 以開始應用程式啟動程序。
將會顯示 建立運算執行個體 對話方塊。
如需如何完成欄位的資訊,請參閱建立 Linux 執行個體。
預設情況下,MySQL 伺服器會接聽連接埠 3306,並設定單一使用者 root。
將會安裝下列 MySQL 軟體:
MySQL Server EE
MySQL Enterprise Backup
MySQL Shell
MySQL Router
為確保安全性,會啟用下列功能:
SELinux:如需更多資訊,請參閱設定及使用 SELinux
firewalld
:如需更多資訊,請參閱控制 firewalld 防火牆服務
將會啟用下列 MySQL 外掛程式:
thread_pool
validate_password
在啟動時,會發生下列情況:
MySQL 伺服器會讀取
/etc/my.cnf
和/etc/my.cnf.d/
中所有名為
的檔案。*
.cnf/etc/my.cnf.d/perf-tuning.cnf
會由/usr/bin/mkcnf
根據選取的 OCI 形狀建立。注意若要停用此機制,請移除
/etc/systemd/system/mysqld.service.d/perf-tuning.conf
。效能調整會針對下列形狀設定:
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
重要事項對於所有其他形狀,會使用 VM.Standard2.1 的調整。