On this page
Installing MySQL
Windows
-
Download MySQL Installer:
- Download the MySQL Community Server installer from the official MySQL website.
2.Run Installer:
- Run the downloaded .msi installer and follow the installation wizard instructions.
-
Configure MySQL:
- During installation, set up MySQL as a Windows service and optionally configure security settings.
-
Start MySQL Service:
- MySQL should start automatically as a Windows service after installation.
Linux (CentOS/RHEL using yum)
- Add MySQL Repository:
- Install MySQL Server:
- Start MySQL Service:
- Secure MySQL Installation (Optional - recommended):
Linux (Ubuntu/Debian using apt)
- Update Package List:
- Install MySQL Server:
- Start MySQL Service:
- Secure MySQL Installation (Optional - recommended):
macOS (using Homebrew)
- Install Homebrew (if not already installed):
- Install MySQL:
- Start MySQL Service: