- Go to mysql.com
- Go to the Downloads link
- Scroll down to MySQL Community (GPL) Downloads
- MySQL Installer for Windows
- Leave the version at 8 and download the first MSI Installer
- On the page that asks you to login or Sign up, ignore those and click the “No thanks, just start my download”
- Start the installation
- On the Choosing a Setup Type screen, select Full. This will install MySQL Workbench too.
- On the Check Requirements screen, click Execute. This will install required dependencies.
- Once all dependencies are installed, click Next.
- One the next screen. click Execute to download everything.
- Once everything is download, click Execute to install everything.
- When everything is installed, click Next.
- On the Product Configuration screen, click Next.
- On the Type and Networking screen, leave the defaults and click Next.
- On the Authentication Method screen, leave it on Use Strong Password and click Next.
- On the Accounts and Roles screen, enter a password for the root user. Do not lose this password. We are just going to use the root user, which is the super user. For a real database you should create a separate user by clicking Add User.
- On the Windows Service screen leave all settings as is and click Next.
- On the Server File Permissions screen, click Next.
- On the Apply Configuration screen, click Execute.
- When the Apply Configuration screen is complete, click Next.
- On the Product Configuration screen, click Next.
- On the MySQL Router Configuration screen, leave everything as is and click Finish.
- On the Product Configuration screen, click Next.
- On the Connect To Server screen, enter the username and password you created previously and click Check, then click Next.
- On the Apply Configuration screen, click Execute then click Finish.
- Back on the Product Configuration screen, click Next.
- On the Installation Complete screen, click Finish.
- MySQL will start in the command line, and MySQL Workbench will start too.
Microsoft Visual C++ Redistributable
If you a get a notification about needing to install Visual C++ Redistributable package, you can find it on this page. Download and install the https://aka.ms/vs/17/release/vc_redist.x64.exe executable.