Home > Operation and Maintenance > phpstudy > phpstudymysqla service cannot be started

phpstudymysqla service cannot be started

(*-*)浩
Release: 2019-07-13 09:48:40
Original
7375 people have browsed it

phpStudy is a very powerful and simple-to-use PHP integrated development environment, which is very suitable for local development and testing. In daily installation and use, sometimes the installed MySql can be used normally, but it cannot be started and stopped normally as a service, which brings trouble to our use.

phpstudymysqla service cannot be started

The problem arises:

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

Solution:

In my case, I have installed mysql before. If I have not installed mysql, it should be able to start.

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

Enter at the cmd command line: sc delete mysql to delete

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

This seems to be due to insufficient permissions

Solution.

First of all, we must first obtain administrator rights, run cmd.exe with administrator rights, and then enter the command: sc delete the service name to be deleted

success! ! !

For more technical articles related to phpstudy, please visit the phpstudy usage tutorial column to learn!

The above is the detailed content of phpstudymysqla service cannot be started. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template