Visit the official MySQL website at
https://www.mysql.com/. Click on “Downloads” in the top navigation bar, and then click on “MySQL Community (
GPL) Downloads”.
Scroll down and locate “MySQL Community Server”. Click on the “Go to Download Page” link.
On the download page, choose the appropriate installer for your Windows system. If you are unsure whether your system is 32-bit or 64-bit, right-click on “Computer” or “This PC” and select “Properties” to check your system type.
Click on “Download” next to the “Windows (x86, 32-bit), MSI Installer” or “Windows (x86, 64-bit), MSI Installer” option, depending on your system type.
You will be prompted to create an account or sign in. You can choose to skip this step by clicking on “No thanks, just start my download” at the bottom of the page.
Once the installer has been downloaded, locate the file and double-click it to start the installation process.
In the MySQL Installer, click on “Accept License Agreement” and then click “Next”.
Choose a setup type. The most common choice for most users is “Developer Default,” which includes the MySQL Server, MySQL Shell, and other development tools. Click “Next” after selecting your setup type.
The installer will check for required software. If any missing software is detected, click “Execute” to install the necessary components. Once completed, click “Next”.
Click “Execute” to start the installation of the selected products. The installation progress will be shown on the screen. Once completed, click “Next”.
In the “Product Configuration” section, click “Next” to start the configuration process.
Choose the type of configuration you prefer (Standalone MySQL Server or MySQL Server as part of an InnoDB Cluster) and click “Next”.
Configure the server settings such as TCP/IP port, X Protocol port, and server root password. Make sure to create a strong and secure password for the root user, as this user will have full control over the MySQL Server. Click “Next” once completed.
Configure the Windows service settings. Choose a Windows service name, and select whether you want the service to start automatically at system startup. Click “Next”.
Review the configuration summary, and if everything looks correct, click “Execute” to apply the server configuration.
Once the configuration process is completed, click “Finish”.
Click “Next” to finalize the installation and configuration process. Finally, click “Finish” to close the MySQL Installer.