1. First we need to bathe the installation package, now is 2017.7.9, currently the latest version for 5.7.18.1 I installed version of the computer is 32-bit
Download URL: https://dev.mysql.com/downloads/file/?id=470091
2. Double-click the downloaded file
3. Installation page
4 Select the installation Type here we select Server only then click Next to continue the installation
5. Next we all choose the default installation to come, continue next, until the following step
Root account password set the password for the root of the database, set the root to be good,
Hit the blackboard to focus, this password must be remembered. Configuring the environment variable to open MySQL in cmd requires this password.
6, the next step is to set the name and whether it is self-starting, I am more lazy, so it is more suitable for me to boot.
7. The rest of next is on the line.
Second, how to enter MySQL?
Want to go to MySQL in CMD. Environment variables need to be configured
Computer, properties –> change settings –> advanced –> environment variable –> new –>
Variable name: Path
Variable value: C:\Program files\mysql\mysql Server 5.7\bin
The default installation address is on drive C.
Open cmd like this
Type: Mysql-u root-p
Enter Password:
Welcome to the MySQL monitor: you can open it.
the previous picture;
This completes, the subsequent update!
MySQL Installation tutorial