Introduction

Developers can access the full range of MySQL Enterprise Edition features for free while learning, developing, and prototyping. Downloads are available from Oracle Technical Resources (OTR, formerly Oracle Technology Network, OTN) on the MySQL Enterprise Edition Downloads page. This article provides installation instructions for download bundles obtained from that page.

Note:

If you already have a commercial license for MySQL, you should download MySQL Enterprise Edition from Oracle’s Software Delivery Cloud.

Download Bundles Available

Download bundles supporting the following platforms and architectures are available on OTR:

  • Oracle Linux / Red Hat Enterprise Linux RPM packages (x86-64 or ARM64)
  • macOS (ARM64)
  • Windows (x86-64)

For other supported platforms, downloads are available from Oracle’s Software Delivery Cloud for commercially-licensed users.

Each download bundle is a zipped archive including the following product packages:

  • mysql-commercial-server: The MySQL Server software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. This package includes the MySQL server binary as well as related utilities to run and administer a MySQL server.
  • mysql-commercial-backup: MySQL Enterprise Backup provides DBAs with a high-performance, online “hot” backup solution with data compression technology to ensure your data is protected in case of downtime or an outage.
  • mysql-connector-c++-commercial: A C++ interface for communicating with MySQL servers. The Connector/C++ X DevAPI can also be used by C applications.
  • mysql-connector-j-commercial: MySQL Connector/J is the official JDBC driver for MySQL. MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the Java Database Connectivity (JDBC) API.
  • mysql-connector-net-commercial: Connector/NET is a fully-managed ADO.NET driver for MySQL (package available only for Windows)
  • mysql-connector-odbc-commercial: Connector/ODBC is a standardized database driver for Windows, Linux, Mac OS X, and Unix platforms. mysql-connector-odbc driver comes in 2 flavors - ANSI and Unicode.
  • mysql-connector-python-commercial: MySQL Connector/Python enables Python programs to access MySQL databases, using an API that is compliant with the Python DB API version 2.0. It is written in pure Python and does not have any dependencies except for the Python Standard Library. This is the Python 3 version of the driver.
  • mysql-router-commercial: MySQL Router is lightweight middleware that provides transparent routing between your application and any backend MySQL Servers. It can be used for a wide variety of use cases, such as providing high availability and scalability by effectively routing database traffic to appropriate backend MySQL Servers.
  • mysql-shell-commercial: The MySQL Shell is an interactive Javascript, Python, or SQL interface supporting development and administration for the MySQL Server and is a component of the MySQL Server. Users can use the MySQL Shell to perform data queries and updates as well as various administration operations.

Installing MySQL Enterprise Edition

After you have downloaded the MySQL Enterprise Edition software bundle from the MySQL Enterprise Edition Downloads page on OTR, follow the installation instructions below for your platform.

  1. Unpack the downloaded tar bundle:

    tar xvf mysql-enterprise-<REL_VERSION>_el<VERSION>_<ARCH>_bundle.tar #Ordinary bundles 
    tar xvf mysql-enterprise-<REL_VERSION>-javascript_el<VERSION>_<ARCH>_bundle.tar #Bundles supporting JavaScript stored programs

    For example :

    tar xvf mysql-enterprise-8.2.0_el8_aarch64_bundle.tar
    tar xvf mysql-enterprise-8.2.0-javascript_el9_x86_64_bundle.tar
  2. Set up a local Yum package repository for easy management of your MySQL Enterprise products and components:

    1. 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
      
    2. Install utilities that aid in Yum repo setup:

      sudo yum install yum-utils
  3. 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
  4. For Oracle/Red Hat Linux 8 only: Disable the MySQL module that comes with your OS distribution:

     sudo yum module disable mysql
  5. 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
  1. 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.

  2. 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 Documentation

  1. Extract the downloaded ZIP bundle using your preferred file-compression tool. This creates a directory containing ZIP files for the included MySQL products.

  2. 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.