-
Go to https://chocolatey.org/install and follow the command there and paste it in an administrative Powershell Windows. Something like
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'))
-
Then close the shell.
-
Open a new shell and type
choco -?
if you don't see any errors then chocolatey is installed.
-
Again open an adminstrative powershell and the type the following command
choco install mysql
-
You may see some scary output in red you can safely ignore it. After that, you will successfully install MySQL.
-
Then type the following commands
choco install mysql-python
-
Finally, if the commands don't show any error you can start working. You will see the
Mysql command prompt
in the start menu which you can start. -
You may need to restart your computer.
The default username would be root
and the password will be blank. You can change the password once opening it by this command
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
Where new_password
is your new password.