Due to business needs, Today in MacOSX Win7 virtual machine installed the latest version of MySQL: mysql-5620-winx64msi, the results found that after the installation of no response, the Start menu of CommandLineShell can not start. Although the problem is very simple, but it is estimated that 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.