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