How to Install MySQL v8.0.46 on Windows 10/11 (2026) | Step-by-Step Guide
Below is a step-by-step guide to install MySQL v8.0.46 on Windows 10/11.
Step 1: Download MySQL Installer
- Go to the official site: https://www.mysql.com/
- Click on Downloads menu.
- Click on MySQL Community (GPL) Downloads under MySQL Community Edition.
- Click on MySQL Installer for Windows.
- Download: Windows (x86, 32-bit), MSI Installer (mysql-installer-community-8.0.46.0.msi) for offline installation.
- Click on No thanks, just start my download.
Step 2: Run the Installer
- Double-click the downloaded mysql-installer-community-8.0.46.0.msi file.
- If Windows asks permission, click Yes.
- Select Setup Type: Full and click Next.
- The installer will install:
- MySQL Server
- MySQL Workbench
- MySQL Shell
- MySQL Router
- MySQL Documentation
- Samples and Examples
- Click Execute and wait for installation to complete.
- Click Next.
Step 3: Configure MySQL Server
- Click Next.
- Keep Type and Networking Configuration default and click Next.
- Keep Authentication settings default and click Next.
- Set a strong root password.
- Enter password in MySQL Root Password.
- Confirm password and click Next.
- Select Configure MySQL Server as a Windows Service.
- Service Name: MySQL80 (default).
- Enable Start MySQL Server at System Startup.
- Click Next.
- Click Execute and wait for all steps to succeed.
- Click Finish.
Step 4: Configure MySQL Router & Samples
- Click Next.
- Keep default settings and click Finish.
- Click 'Next'.
- Enter root password and click Check.
- Confirm “Connection Succeeded”.
- Click Next → Execute.
- Wait for success and click Finish.
- Click 'Next' and then Click 'Finish'.
Step 5: Launch MySQL Workbench
- Open MySQL Workbench from Start Menu.
- Click Local instance MySQL80.
- Enter root password and click OK.
- Run:
SELECT VERSION();
Step 6: Launch MySQL Shell
- Run command:
\connect root@localhost - Enter password.
- Press N if prompted.
- Switch to SQL mode:
\sql - Run:
SELECT VERSION();
Step 7: Launch MySQL Command Line Client
- Enter password.
- Run:
SELECT VERSION();
Step 8: Add MySQL to PATH
- Press Win + R, type:
sysdm.cpl - Go to Advanced tab.
- Click Environment Variables.
- Select Path under System variables → click Edit.
- Click New and add:
C:\Program Files\MySQL\MySQL Server 8.0\bin - Click OK → OK → OK.
Step 9: Verify Installation
- Open Command Prompt.
- Run:
mysql -u root -p - Enter password.
- Run:
SELECT VERSION();


































Comments
Post a Comment