Download the installation package "Mysql-5.6.34-winx64.zip", put it in a folder, unzip the installation package, rename the folder named "mysql-5.6.34" to modify the "My-default.ini" profile: The following:
[Mysqld]#Remove Leading # and set to the amount of RAM for the most important data#Cache in MySQL. Start at 70% of all RAM for dedicated server, else 10%.#innodb_buffer_pool_size = 128M#Remove Leading # to turn on a very important data integrity Option:logging#changes to the binary log between backups.#Log_bin#These is commonly set, remove the # and set as required.Basedir = D:\MySQL\mysql-5.6.34DataDir= D:\MySQL\mysql-5.6.34\data#port = ... ..#server_id = ... ..
Set environment variables: Right-click the computer –> Properties –> advanced system settings –> environment variables –> System variables, locate path, append;D at the end: \mysql\mysql-5.6.34\bin (Note that the path is preceded by ";"), click OK to finish. Initialize database: Run cmd as Administrator: Enter C:\Windows\System32, locate Cmd.exe, right-click Run as Administrator, enter bin directory: cmd input mysqld--install
D:\mysql\mysql-5.6.34\bin>mysqld--installservice successfully installed.
Start MySQL:
D:\mysql\mysql-5.6.34\bin>net Start MySQL
Windows7 under Installation MySQL-5.6.34