Mysql cannot be started in phpstydy

王林
Release: 2019-10-22 17:26:22
Original
4327 people have browsed it

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 mysql at 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 delete The 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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!