Report an error The Apache\Nginx service started normally, but MySQL kept failing to start. Solution Process Check if the port is occupied Open the system's built-in resource manager and check whether the listening port 3306 is occupied. In the figure below, port 3306 is occupied by mysqld.exe. mysqld.exe is the MySQL service that comes with phpstudy. If port 3306 is occupied by someone other than mysqld.exe, you can follow the steps below to close it. Open the system's built-in services Switch to local MySQL service There are two MySQL services in the discovery service, one is MySQL and the other is MySQLa. The reason is that I have installed MySQL locally before, and the MySQL I installed is started by default. Now you just need to stop the MySQL service and start the MySQLa service. Summarize The above is what I introduced to you about solving the problem of PhPStudy MySQL startup failure under Windows system. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Example code and method of storing arrays in mysql
>>: Basic use of javascript array includes and reduce
Table of contents 1. Start and stop service instr...
How do I download MySQL from the official website...
<html> <head> <meta http-equiv=&quo...
1. Environment version Docker version 19.03.12 ce...
1. Installation Environment Computer model: Lenov...
This article shares with you the solution to the ...
Engineering Structure The project is divided into...
Core code /*-------------------------------- Find...
1. Install Docker yum -y install docker-io The &q...
I have always wanted to learn about caching. Afte...
Table of contents Generate random numbers Generat...
background Temporary tablespaces are used to mana...
Table of contents 01 What is Kubernetes? 02 The d...
Preface Recently, I have been busy writing a smal...
Cockpit is a web-based server management tool ava...