1. Login official website http://dev.mysql.com/downloads/mysql/Download the installation package (MySQL installation package is divided into two types, one is MSI format, one is the zip format)
Note: MSI format is not described here, just next can be installed
2. Unzip the installation package to the local directory, D:\Program files\mysql-5.7.12-winx64
3. Configure environment variables, append MySQL bin directory to environment variable eg. PATH = ...;D: \program Files\mysql-5.7.12-winx64\bin
4. Modify the configuration file, D:\Program Files\mysql-5.7.12-winx64\my-default.ini or add My.ini
5. Installing the MySQL Service
CD/D D:\Program Files\mysql-5.7.12-winx64\bin
Mysqld-install (mysqld-remove removal Service)
6. Start the MySQL service
net start MySQL (net stop MySQL stop service)
7. Log in to MySQL
Mysql-hlocalhost-uroot-p
Note:
MySQL inserted Chinese characters garbled, can be referenced as, set the coded character set:
Specific modification method:
MySQL Database installation---decompression version