We are going to install chocolatey (a package installer for Windows ) that will let us install mysql 8 with one command on the fly, that will save us time and on behalf of us it will go ahead and configure them as well.
Install Chocolatey
Launch your powershell with admin rights and run the following command
Set-ExecutionPolicy AllSigned
Followed By
Set-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'))
Now relaunch the powershell and check chocolatey version and install MySQL
choco --version
Install MySQL 8 With Chocolatey
choco install mysql -y
This command will install latest version of MySQL and set it to system's path.
{Video} Install MySQL with Chocolatey
Top comments (0)