Graphic and text tutorial of installation and configuration method for mysql 5.7.21 under Window10
This article records the installation and configuration method of mysql 5.7.21 and shares it with you.
1. Download the installation package
The following is the mysql download address of the official website windows system
Mysql download address
Click on the page as follows
Choose the corresponding mysql database according to your computer's system and download it.
After downloading, click the downloaded msi file to go directly to the installation step.
...
The latter will not be listed one by one, nothing needs to be changed, and it will be installed until it is completed. Just enter the password where you need it.
Congratulations when you're done, and your mysql database will be complete.
However, each time you use it, you must enter the bin directory where mysql is installed before you can enter it through mysql-u root-p, as follows
If you don't want to do such a tedious operation every time, you need to configure environment variables.
Open the control panel of the computer-system
Select advanced system settings
Click the environment variable
Find path in the following system variable and edit it
Just add the path to the bin directory of your mysql installation in the new column. It is usually under the Program Files of disk C. Once configured, you can use your mysql directly and quickly.
Wonderful topic sharing:
Installation tutorials for different versions of mysql
Installation tutorials for each version of mysql5.6
Installation tutorials for each version of mysql5.7
Installation tutorials for each version of mysql8.0
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.