Table of contents
MySQL download
Enter the official website https://www.mysql.com/
Click DOWNLOADS to enter the download page
Free version Click MySQL Community (GPL) Downloads below »
Click on MySQL Community Server
Click Go to Download Page to enter the download page
click download
Click No thanks, just start my download. to start downloading
If you need to install the historical version, click Archives in the picture
Select the desired version and click Download
MySQL installation
After selecting a custom installation, click Next
Click MySQL Service to expand the branch and select MySQL Service 8.0.32 - x64 Click the right arrow to import into the right box
Modify the installation path and data storage path
Just select yes
Select Execute
click next
Just choose the first development mode
Just choose the first one
Set the password of the database root user and click Next when the setting is complete
This option is to enable or disable startup at startup. MySQL takes up less memory and can be set to startup at startup and click Next.
Click next
Click Execute to display all green ticks, indicating that the installation is complete
click finish
Click Next
click finish
At this point, MySQL is installed
Configure environment variables
Find the MySQL installation directory and copy the bin folder path
Open My Computer Properties, click Environment Variables
Double-click the Path in the system variable
Click New
Paste the bin folder path under the MySQL installation path you just copied and click OK
Keyboard Win + R input cmd open terminal input
mysql --version
View MySQL installation version