1# Open Powershell as administrator
2# First install Choclatey
3Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
4# Check if choco installed
5choco -?
6# Install mysql
7choco install mysql
1first install chocolatey
2open Powershell as administrator
3C:\\User\hey> choco install mysql