1. Download the MySQL file package first, Dev.mysql.com/downloads/mysql (registration required)
2. Unzip the downloaded mysql-5.6.24-x64.zip.
3. Copy the extracted folder to the appropriate place, for example D://program file/
4. Copy the My-default.ini file into the folder and rename it to My.ini
5. Add the following lines within the My.ini file.
Basedir = C:\Program files\mysql-5.6.24-winx64 #mysql的位置, replaced by their own
DataDir = C:\Program Files\mysql-5.6.24-winx64\data #data的位置, replaced by their own
Max_connections = #最大连接数, can not be set
Character-set-server = UTF8 #服务端字符集
Default-storage-engine = INNODB #存储模式
6. Installing the MySQL Service
Run cmd as Administrator, enter DOS and enter into the mysql/bin/directory, enter mysqld install prompt installation success
7. Start MySQL
Continue to enter net start MySQL prompt to start successfully
8. Go to MySQL
Continue entering Mysql-uroot-p
The default is no password directly to enter the good.
mysql-5.6.24-x64 Installation Environment Window server2008 x64