MySQL8.0 installation tutorial (very detailed)

1. Enter the mysql official website

Insert image description here

2. Click DOWNLOADS to go to the download page, scroll down the page, and click MySQL Community (GPL) Downloads »Download the community version

Insert image description here

3. Click MySQL Installer for Windows–>Select the window installation version

Insert image description here

4. Select the item below and click Download

Insert image description here

5. Click No thanks, just start my download.

Insert image description here

6. Then a prompt box will pop up and you can choose to download to any directory.Insert image description here

7. I am used to creating a new install directory to store software installation packages.

Insert image description here

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.

Insert image description here

9. Click Next

Insert image description here

10. Click Execute to install

Insert image description here

11. Wait for the installation process. The installation speed depends on the computer performance, which may take 10 minutes or half an hour.

Insert image description here

12. Click Next when the installation is complete.

Insert image description here

13. Continue to click Next

Insert image description here

14. The following information is default, click Next

Insert image description here

15. Select the first one and click Next

Insert image description here

16. Set the password for Mysql and click Next

Insert image description here

17. Click Next

Insert image description here

18. Click Next

Insert image description here

19. Click Execute to start the installation

Insert image description here

20. The word "successful" appears, then congratulations, you have successfully installed mysql8.0, then click Finish

Insert image description here

21. Click Next

Insert image description here

22. Click Finish

Insert image description here

23. Enter the password and click Check to test whether the connection is successful. If Connection succeeded appears, it means the connection is successful.

Insert image description here

24. Click Execute to install

Insert image description here

25. Click Finish to complete the installation

Insert image description here

26. Configure MySQL environment variables, find the MySQL installation directory, and copy

Insert image description here

27. Right-click this computer and open environment variables

Insert image description here
Insert image description here

28. Create a new system variable

Insert image description here
Insert image description here

29. Select the Path system variable and click Edit

Insert image description here

30. Click New

Insert image description here
Insert image description here
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

Insert image description here
Insert image description here
Enter the password, and then connect to MySQL.
Insert image description here
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.
Insert image description here
This ends the description.

Guess you like

Origin blog.csdn.net/qq_40187702/article/details/130618805
Recommended