Home>Article>Operation and Maintenance> Mysql cannot be started in phpstydy

Mysql cannot be started in phpstydy

王林
王林 Original
2019-10-11 17:44:48 4330browse

Mysql cannot be started in phpstydy

Problem:

After installing phpstudy, Apache can start, but Mysql cannot start.

Reason:

Mysql has been installed before, so I need to delete MySQL in the system service and leave the MySQL service.

Solution:

Enter:sc delete mysqlat the cmd command line to delete the mysql service.

When we use sc delete service name in cmd to delete the service, an error is reported, SC OpenService failed 5: Access denied, which seems to be due to insufficient permissions.

Solution:

The first step is to obtain administrator rights and run cmd.exe with administrator rights.

The second step is to enter the command:sc deleteThe service name to be deleted

Recommended tutorial:phpstudy tutorial

The above is the detailed content of Mysql cannot be started in phpstydy. 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