After MySQL 5.6 is installed on Windows 7, there is no service and it cannot be started. mysql5.6

Source: Internet
Author: User

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"
 

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.