1. Download MySQL
Community Edition Community (GPL) Download
There are many downloads, you can choose by yourself, I chose Server.
There are MSI and compressed versions to choose from. The compressed version can be directly decompressed, and the MSI needs to be installed. I chose MSI.
Second, the installation of MySQL
1. Handling of insufficient installation permissions (how to not encounter this situation, go directly to step 2)
Double-click the installation package, you may encounter such a situation, which is caused by too low installation permissions.
Now let's elevate the installation permissions, press "Win+R" to bring up the run window and enter gpedit.msc.
Enter the policy editor
Computer Configuration -> Windows Settings -> Windows Installer
Double click to open Windows Installer
Select Always install with elevated privileges, double-click to open Settings, select Enabled, and click Apply.
Similarly, do the same work in user configuration.
Select Always install with elevated privileges, double-click to open Settings, select Enabled, and click Apply.
Then we can use msiexec /package "the path to save your msi" on the command line.
2. Installation
Accept the agreement, the next step
Select Developer Default, the next step
execute, next
implement
Next step
Select Standalone MySQL Server, the next step
The port is: 3306. Next, set your password.
Next step
Next step
Next step
implement
At this point your installation is complete, here is some verification information.
Your Router configuration information
Check your password
The installation is complete
client
Command Line
So far, all the work is done.