1. Enter the mysql official website
2. Click DOWNLOADS to go to the download page, scroll down the page, and click MySQL Community (GPL) Downloads »Download the community version
3. Click MySQL Installer for Windows–>Select the window installation version
4. Select the item below and click Download
5. Click No thanks, just start my download.
6. Then a prompt box will pop up and you can choose to download to any directory.
7. I am used to creating a new install directory to store software installation packages.
8. Double-click the downloaded file - mysql-installer-community-8.0.33.0. Next, proceed with the installation process. Select the default installation mode Developer Default and click Next.
9. Click Next
10. Click Execute to install
11. Wait for the installation process. The installation speed depends on the computer performance, which may take 10 minutes or half an hour.
12. Click Next when the installation is complete.
13. Continue to click Next
14. The following information is default, click Next
15. Select the first one and click Next
16. Set the password for Mysql and click Next
17. Click Next
18. Click Next
19. Click Execute to start the installation
20. The word "successful" appears, then congratulations, you have successfully installed mysql8.0, then click Finish
21. Click Next
22. Click Finish
23. Enter the password and click Check to test whether the connection is successful. If Connection succeeded appears, it means the connection is successful.
24. Click Execute to install
25. Click Finish to complete the installation
26. Configure MySQL environment variables, find the MySQL installation directory, and copy
27. Right-click this computer and open environment variables
28. Create a new system variable
29. Select the Path system variable and click Edit
30. Click New
Then keep clicking OK and the configuration is complete.
31. Open the command line tool win+R, enter cmd to enter the command line window
Enter the password, and then connect to MySQL.
You can perform some operations on the database through commands, such as creating databases, creating new tables, etc. You can also connect to the MySQL database through visual interface tools.
This ends the description.