Installation, uninstallation of the MySQL free installation version under Windows

Source: Internet
Author: User
Tags mysql free

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.