First, installation
1. Download
to the MySQL official website http://dev.mysql.com/downloads/mysql/ download Mysql-5.6.15-win32.zip.
2. Copy
Unzip the Mysql-5.6.15-win32.zip d:\ directory and rename it to mysql-5.6.15. Create two folder 3307,3308 under the D:\mysql-5.6.15 directory, and copy the contents of the D:\mysql-5.6.15 directory to the 3307 and 3308 directories.
3. Configuring the My.cnf File
Modify the following three parameters in the MY.CNF in the 3307 folder:
Basedir = D:\mysql-5.6.15\3307= D:\mysql-5.6.15\3307=3307
Modify the following three parameters in the MY.CNF in the 3308 folder:
Basedir = D:\mysql-5.6.15\3308= D:\mysql-5.6.15\3308=3308
4, the implementation of Mysqld--console
D:\Program files\mysql-5.6. 3307\bin> mysqld--console
Description This 3307 port of MySQL can be used.
D:\Program files\mysql-5.6. 3307\bin> mysqladmin-uroot-p3307 shutdown
This shutdown is visible when you execute this command.
5. Install MySQL Service
D:\Program files\mysql-5.6. 3309\bin>mysqld--install MySQL3307 [--defaults-file="d:\ Program Files\mysql-5.6.15\3307\my.ini"] [optional]service successfully installed.
Similarly, install the 3308 port corresponding service.
6. Start the MySQL service
net start mysql3307net start MySQL3308
Second, uninstall
1. Stop the Service
net stop MySQL3307
2. Delete Service
MYSQLD--remove MySQL3307 or sc delete MySQL3307
3. Delete 3307 Directories
4. Modify the Registration Form
To clear the registry of the MySQL3307 service, there are several places:
A, Hkey_local_machine\system\controlset001\services\eventlog\application\mysql directory delete
B, Hkey_local_machine\system\controlset002\services\eventlog\application\mysql directory Delete
C, hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql directory Delete
The ControlSet001 in the registry, CONTROLSET002 is not necessarily 001 and 002, may be ControlSet005, 006 and so on, delete the time can be deleted.
Third, reference
http://blog.csdn.net/xtdhqdhq/article/details/17370111
Installation, uninstallation of the MySQL free installation version under Windows