After MySQL 5.6 is installed on Windows 7, there is no service and it cannot be started. mysql5.6
Due to business needs, today in Mac OS X Windows 7 virtual machine installed the latest MySQL version: mysql-5.6.20-winx64.msi, The results found that after the installation of no response, the CommandLine Shell in the Start menu cannot be started either. Although the problem is very simple, it is estimated that many of my friends will encounter similar problems. So let's summarize the solution:
According to someone on the Internet, in the MySQL installation directory, for example, "C: \ Program Files \ MySQL Server 5.6 \ bin", which has the executable file" mysqld.exe "and can install the service. But I ran:
mysqld.exe --install
Cmd: Install/Remove of the Service Denied !, After searching, the solution is very simple. Find cmd.exe in C: \ Windows \ System32, right-click it, and choose "Run as administrator". Then, run the command just now. MySQL 5.6.20 seems to adopt the simplest installation settings by default. The default root password is null. After the installed Service is started, it can run normally.
The last step of installing mysql in win7 is always unable to start the service ?? [
I have also encountered this problem. I thought Windows 7 was incompatible with mysql of my version. I deleted it in the Registry and re-installed it.
Delete the following key values.
1. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL
2. HKEY_LOCAL_MACHINE \ SYSTEM \ Controlet002 \ Services \ Eventlog \ Application \ MySQL
3. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL
Mysql 5527 cannot be installed completely, and service solution cannot be started
When applying security setting during service configuration, an error is reported:
1045 Access denied for user 'root' @ 'localhost' (using password: YES )...
I solve this problem: Start the mysql service, and then
Run: cmd
In the mysql installation directory/bin
Run: mysqladmin-u root flush-privileges password "root"