MySQL. msi installation failed instead of. zip installation steps

Source: Internet
Author: User

Download the. msi installation package from the Start website, unable to start when installing to configuration server, long time card is here, cannot continue. On the internet to look at the solution, found that the. zip installation package for installation is relatively simple and reliable.

First, the use of the. msi installation package after the failure of processing

1. First, uninstall the MySQL related components;

2. Clean up the previously installed MySQL installation directory, (my installation directory is on the C drive) to remove C:\Program Files\mysql and C:\Program Files (x86) \mysql directories;

3. In the registry query MySQL, delete all;

Cmd-and Regedit
1) Hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory
2) Hkey_local_machine\system\controlset002\services\eventlog\application\mysql Directory
3) Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory

4. There is a MySQL folder inside the C:\ProgramData, but look at the C packing directory below this folder, directly in the address bar input C:\ProgramData find MySQL folder, delete can;

Second, the MySQL official website downloads. zip installation package for installation

1. unzip the. zip file, put it in any directory, I put it under C:software, C:\software\mysql-5.6;

2. Modify the C:\software\mysql-5.6\my-default.ini file :

   basedir=" < Span style= "FONT-SIZE:14.44444465637207PX; line-height:25.200000762939453px ">c:\software\mysql-5.6" (the directory where MySQL is located)  

datadir= "C:\software\mysql-5.6\data" (MySQL directory \data)

3. Configure the environment variable, directly add the path of the bin directory under MySQL to the path;

4. Run cmd as administrator (be sure to run as administrator, or not have enough permissions):

  input: cd c:\software\mysql-5.6 \ Bin   Go to the MySQL Bin folder under

Input: Mysqld-install (if CMD is not opened with administrator privileges, error occurs because of insufficient permissions: Install/remove of the service denied!)

5. Install successfully, CMD input: net start MySQL, start MySQL;

6.cmd Input: Mysql-u root-p Enter, require password, start without password, directly enter the MySQL can enter.

7. Input: show databases; To view the databases in MySQL:

8. Exit MySQL: Enter exit; Can.

To this end, use the. zip installation package to install MySQL complete.

MySQL. msi installation failed instead of. zip installation steps

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.