MySQL 8.0 Reference Manual
MySQL 8.0 Release Notes
Abstract
This is the MySQL Installation Guide from the MySQL 8.0 Reference Manual.
For legal information, see the Legal Notices.
For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.
Document generated on: 2024-12-06 (revision: 80403)
Table of Contents
- Preface and Legal Notices
- 1 Installing MySQL
- 2 General Installation Guidance
- 3 Installing MySQL on Unix/Linux Using Generic Binaries
- 4 Installing MySQL from Source
- 4.1 Source Installation Methods
- 4.2 Source Installation Prerequisites
- 4.3 MySQL Layout for Source Installation
- 4.4 Installing MySQL Using a Standard Source Distribution
- 4.5 Installing MySQL Using a Development Source Tree
- 4.6 Configuring SSL Library Support
- 4.7 MySQL Source-Configuration Options
- 4.8 Dealing with Problems Compiling MySQL
- 4.9 MySQL Configuration and Third-Party Tools
- 4.10 Generating MySQL Doxygen Documentation Content
- 5 Installing MySQL on Microsoft Windows
- 5.1 MySQL Installation Layout on Microsoft Windows
- 5.2 Choosing an Installation Package
- 5.3 MySQL Installer for Windows
- 5.4 Installing MySQL on Microsoft Windows Using a
noinstall
ZIP Archive - 5.4.1 Extracting the Install Archive
- 5.4.2 Creating an Option File
- 5.4.3 Selecting a MySQL Server Type
- 5.4.4 Initializing the Data Directory
- 5.4.5 Starting the Server for the First Time
- 5.4.6 Starting MySQL from the Windows Command Line
- 5.4.7 Customizing the PATH for MySQL Tools
- 5.4.8 Starting MySQL as a Windows Service
- 5.4.9 Testing The MySQL Installation
- 5.5 Troubleshooting a Microsoft Windows MySQL Server Installation
- 5.6 Windows Postinstallation Procedures
- 5.7 Windows Platform Restrictions
- 6 Installing MySQL on macOS
- 7 Installing MySQL on Linux
- 7.1 Installing MySQL on Linux Using the MySQL Yum Repository
- 7.2 Installing MySQL on Linux Using the MySQL APT Repository
- 7.3 Installing MySQL on Linux Using the MySQL SLES Repository
- 7.4 Installing MySQL on Linux Using RPM Packages from Oracle
- 7.5 Installing MySQL on Linux Using Debian Packages from Oracle
- 7.6 Deploying MySQL on Linux with Docker Containers
- 7.7 Installing MySQL on Linux from the Native Software Repositories
- 7.8 Installing MySQL on Linux with Juju
- 7.9 Managing MySQL Server with systemd
- 8 Installing MySQL on Solaris
- 9 Postinstallation Setup and Testing
- 10 Upgrading MySQL
- 10.1 Before You Begin
- 10.2 Upgrade Paths
- 10.3 Upgrade Best Practices
- 10.4 What the MySQL Upgrade Process Upgrades
- 10.5 Changes in MySQL 8.0
- 10.6 Preparing Your Installation for Upgrade
- 10.7 Upgrading MySQL Binary or Package-based Installations on Unix/Linux
- 10.8 Upgrading MySQL with the MySQL Yum Repository
- 10.9 Upgrading MySQL with the MySQL APT Repository
- 10.10 Upgrading MySQL with the MySQL SLES Repository
- 10.11 Upgrading MySQL on Windows
- 10.12 Upgrading a Docker Installation of MySQL
- 10.13 Upgrade Troubleshooting
- 10.14 Rebuilding or Repairing Tables or Indexes
- 10.15 Copying MySQL Databases to Another Machine
- 11 Downgrading MySQL
- 12 Environment Variables
- 13 Perl Installation Notes