MySQL Enterprise Edition Installation Guide (original) (raw)
- Unpack the downloaded
tar
bundle:
tar xvf mysql-enterprise-<REL_VERSION>_el<VERSION>_<ARCH>_bundle.tar
For example :
tar xvf mysql-enterprise-9.3.0_el8_aarch64_bundle.tar
tar xvf mysql-enterprise-9.3.0_el9_x86_64_bundle.tar
- Set up a local Yum package repository for easy management of your MySQL Enterprise products and components:
- Add the MySQL GPG key to your system in order to verify packages at install time:
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023
- Install utilities that aid in Yum repo setup:
sudo yum install yum-utils
- Add the downloaded developer bundles as a local yum repo:
sudo yum-config-manager --add file:///path/to/rpms
For example
path: file:///home/username/mysql
- For Oracle/Red Hat Linux 8 only: Disable the MySQL module that comes with your OS distribution:
sudo yum module disable mysql
- Install MySQL Server or any of the products included in the bundle, using any of the following commands:
sudo yum install mysql-commercial-server
sudo yum install mysql-commercial-backup
sudo yum install mysql-connector-c++-commercial
sudo yum install mysql-connector-c++-commercial-jdbc
sudo yum install mysql-connector-j-commercial
sudo yum install mysql-connector-odbc-commercial
sudo yum install mysql-connector-odbc-commercial-setup
sudo yum install mysql-connector-python3-commercial
sudo yum install mysql-router-commercial
sudo yum install mysql-shell-commercial
Unpack the downloaded ZIP bundle by double clicking it in macOS Finder.
This creates a directory containing DMG files for the included MySQL products, along with ZIP files for Connector/Python (for several different Python versions) and for Connector/J.Initiate installation of a product by double clicking its DMG file in macOS Finder.
Products contained in ZIP files typically require additional steps for installation. For details, see the product's documentation available at MySQL DocumentationExtract the downloaded ZIP bundle using your preferred file-compression tool. This creates a directory containing ZIP files for the included MySQL products.
Install the MySQL products of your choices by extracting their ZIP files to their installation locations. See Installing MySQL on Microsoft Windows Using a noinstall ZIP Archive for detailed instructions.