Home>Article>Operation and Maintenance> phpstudymysqla service cannot be started
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.
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 thephpstudy usage tutorialcolumn 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!