Skip to Main Content
The world's most popular open source database
Contact MySQL
|
Login
|
Register
MySQL.com
Downloads
Documentation
Developer Zone
Developer Zone
Downloads
MySQL.com
Documentation
MySQL Server
MySQL Enterprise
Workbench
InnoDB Cluster
MySQL NDB Cluster
Connectors
More
MySQL.com
Downloads
Developer Zone
Section Menu:
Documentation Home
MySQL 8.4 Reference Manual
Preface and Legal Notices
General Information
Installing MySQL
General Installation Guidance
Supported Platforms
Which MySQL Version and Distribution to Install
How to Get MySQL
Verifying Package Integrity Using MD5 Checksums or GnuPG
Verifying the MD5 Checksum
Signature Checking Using GnuPG
Signature Checking Using Gpg4win for Windows
Signature Checking Using RPM
GPG Public Build Key for Archived Packages
Installation Layouts
Compiler-Specific Build Characteristics
Installing MySQL on Unix/Linux Using Generic Binaries
Installing MySQL on Microsoft Windows
Choosing an Installation Package
Configuration: Using MySQL Configurator
MySQL Server Configuration with MySQL Configurator
MySQL Configurator CLI
Configuration: Manually
Extracting the Install Archive
Creating an Option File
Selecting a MySQL Server Type
Initializing the Data Directory
Starting the Server for the First Time
Starting MySQL from the Windows Command Line
Customizing the PATH for MySQL Tools
Starting MySQL as a Windows Service
Testing The MySQL Installation
Troubleshooting a Microsoft Windows MySQL Server Installation
Windows Postinstallation Procedures
Windows Platform Restrictions
Installing MySQL on macOS
General Notes on Installing MySQL on macOS
Installing MySQL on macOS Using Native Packages
Installing and Using the MySQL Launch Daemon
Installing and Using the MySQL Preference Pane
Installing MySQL on Linux
Installing MySQL on Linux Using the MySQL Yum Repository
Installing MySQL on Linux Using the MySQL APT Repository
Using the MySQL SLES Repository
Installing MySQL on Linux Using RPM Packages from Oracle
Installing MySQL on Linux Using Debian Packages from Oracle
Deploying MySQL on Linux with Docker Containers
Basic Steps for MySQL Server Deployment with Docker
More Topics on Deploying MySQL Server with Docker
Deploying MySQL on Windows and Other Non-Linux Platforms with Docker
Installing MySQL on Linux from the Native Software Repositories
Installing MySQL on Linux with Juju
Managing MySQL Server with systemd
Installing MySQL Using Unbreakable Linux Network (ULN)
Installing MySQL on Solaris
Installing MySQL on Solaris Using a Solaris PKG
Installing MySQL from Source
Source Installation Methods
Source Installation Prerequisites
MySQL Layout for Source Installation
Installing MySQL Using a Standard Source Distribution
Installing MySQL Using a Development Source Tree
Configuring SSL Library Support
MySQL Source-Configuration Options
Dealing with Problems Compiling MySQL
MySQL Configuration and Third-Party Tools
Generating MySQL Doxygen Documentation Content
Postinstallation Setup and Testing
Initializing the Data Directory
Starting the Server
Troubleshooting Problems Starting the MySQL Server
Testing the Server
Securing the Initial MySQL Account
Starting and Stopping MySQL Automatically
Perl Installation Notes
Installing Perl on Unix
Installing ActiveState Perl on Windows
Problems Using the Perl DBI/DBD Interface
Upgrading MySQL
Downgrading MySQL
Tutorial
MySQL Programs
MySQL Server Administration
Security
Backup and Recovery
Optimization
Language Structure
Character Sets, Collations, Unicode
Data Types
Functions and Operators
SQL Statements
MySQL Data Dictionary
The InnoDB Storage Engine
Alternative Storage Engines
Replication
Group Replication
MySQL Shell
Using MySQL as a Document Store
InnoDB Cluster
InnoDB ReplicaSet
MySQL NDB Cluster 8.4
Partitioning
Stored Objects
INFORMATION_SCHEMA Tables
MySQL Performance Schema
MySQL sys Schema
Connectors and APIs
MySQL Enterprise Edition
MySQL Workbench
MySQL on OCI Marketplace
Telemetry
MySQL 8.4 Frequently Asked Questions
Error Messages and Common Problems
Indexes
MySQL Glossary
Related Documentation
MySQL 8.4 Release Notes
Download this Manual
PDF (US Ltr)
- 40.2Mb
PDF (A4)
- 40.3Mb
Man Pages (TGZ)
- 261.9Kb
Man Pages (Zip)
- 367.5Kb
Info (Gzip)
- 4.0Mb
Info (Zip)
- 4.0Mb
version 8.4
26.7
9.7 current
8.0
8.0 Japanese
MySQL 8.4 Reference Manual
/ Installing MySQL
Chapter 2 Installing MySQL
Table of Contents
2.1 General Installation Guidance
2.1.1 Supported Platforms
2.1.2 Which MySQL Version and Distribution to Install
2.1.3 How to Get MySQL
2.1.4 Verifying Package Integrity Using MD5 Checksums or GnuPG
2.1.5 Installation Layouts
2.1.6 Compiler-Specific Build Characteristics
2.2 Installing MySQL on Unix/Linux Using Generic Binaries
2.3 Installing MySQL on Microsoft Windows
2.3.1 Choosing an Installation Package
2.3.2 Configuration: Using MySQL Configurator