Installation
System Requirements
Hardware Requirements
-
CPU: 64-bit architecture recommended
-
Memory: Minimum 4GB RAM, 8GB+ recommended for production
-
Storage: SSD recommended for optimal performance
-
Network: TCP/IP connectivity for client connections
Operating System Support
-
Linux: Ubuntu, CentOS, Red Hat Enterprise Linux, SUSE Linux
-
Windows: Windows 10, Windows Server 2016/2019/2022
-
macOS: macOS 10.15 and later
-
Unix: Solaris, AIX, FreeBSD
Installation Methods
Linux Installation
MySQL 8.4.5 can be installed on most Linux and Unix platforms using generic binary packages (tar.gz) or built from source code:
Using Package Managers:
bash
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install mysql-server-8.4
# CentOS/RHEL
sudo yum install mysql-server-8.4
# or
sudo dnf install mysql-server-8.4
Generic Binary Installation:
bash
# Download and extract MySQL 8.4.5
wget https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-8.4.5-linux-glibc2.28-x86_64.tar.xz
tar -xf mysql-8.4.5-linux-glibc2.28-x86_64.tar.xz
sudo mv mysql-8.4.5-linux-glibc2.28-x86_64 /usr/local/mysql
Windows Installation
For MySQL 8.4 on Windows, the default installation directory is C:\Program Files\MySQL\MySQL Server 8.4. The MSI installer includes the MySQL Configurator application for later reconfiguration.
Installation Steps:
-
Download MySQL 8.4.5 MSI installer
-
Run installer with administrator privileges
-
Follow installation wizard
-
Configure MySQL server using MySQL Configurator
-
Start MySQL service
Post-Installation Configuration
sql
-- Secure installation
mysql_secure_installation
-- Create administrative user
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'secure_password';
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;