Alas, for a long time did not install MySQL, then forgot again, after the installation success, decided to immediately record down, deepen the impression.
First, download the installation package
Download path: https://dev.mysql.com
Unzip when the download is complete.
Second, configure environment variables
* Tap Computer------> System Properties------> Advanced system settings------> Environment Variables------> "Path"
* Back in English "; "Separated, the decompression path to the bin copy up, Eg:e:\tools\mysql\mysql-5.6.39-winx64\bin
Third, operation configuration file
* Copy a copy of the My-default.ini in the MySQL directory and rename it to My.ini
* Punch My.ini file, locate Basedir and datadir, and change the following ellipsis to:
Basedir = E:\tools\Mysql\mysql-5.6.39-winx64
DataDir = E:\tools\Mysql\mysql-5.6.39-winx64\data
Iv. installation of MySQL
* Punch-in cmd, open the corresponding drive letter, enter the E:\tools\Mysql\mysql-5.6.39-winx64\bin directory
* Execute command Mysql-install, if previously installed, will prompt that the service already exists, execute the SC delete mysql command to delete. Execute the mysql-install command again
* The prompt is successful, the installation is successful
I think I should not forget how to install it after this time.
MySQL Download installation--Win7 64-bit operating system