Home  >  Article  >  Database  >  Detailed explanation of why there is no mysql startup item in the service after the mysql database is installed

Detailed explanation of why there is no mysql startup item in the service after the mysql database is installed

黄舟
黄舟Original
2017-09-11 11:31:382806browse

I am using the mysql database installed by phpstudy, but there is no mysql startup item in the service (does not affect use). The reason is that the mysql service is not installed when installing mysql.

The solution is as follows:

 1. Run cmd.exe as an administrator (note the administrator identity!)

 2. Enter the mysql bin directory

 3. Install the mysql service

Installation service: mysqld --install

(Uninstall service: mysqld --remove)

Installation operation result:

4 . Check the local service and the mysql startup item

appears successfully

The above is the detailed content of Detailed explanation of why there is no mysql startup item in the service after the mysql database is installed. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn