📅  最后修改于: 2022-03-11 15:05:34.345000             🧑  作者: Mango
# Open Powershell as administrator
# First install Choclatey
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'))
# Check if choco installed
choco -?
# Install mysql
choco install mysql