The solution to the problem that the mysql database service cannot be found: first open cmd, switch to the bin directory of mysql [D:\Program Files\MySQL5.1\bin>]; then enter [mysqld.exe -install] Order.
The operating environment of this tutorial: Windows 7 system, mysql version 8.0.22. This method is suitable for all brands of computers.
Solution to the problem that the mysql database service cannot be found:
After the installation of the MySQL database is completed, the MySQL service startup item cannot be found in the service list of the control panel
If we are using the green installation-free version of mysql database, sometimes there will be a problem that the mysql database cannot be found
Solution:
Open cmd and switch to the bin directory of mysql D:\Program Files\MySQL5.1\bin>
, then enter the mysqld.exe -install command
If the prompt Service successfully installed.
is enough ( Note: If this result is not Service successfully installed;
but Install/Remove of the Service Denied
!, why does this result appear: because the permissions are insufficient, the solution is to use Open cmd as administrator:
Enter cmd in the input box, right-click on cmd.exe under the program in the displayed list and select Run as administrator)
More Related free learning recommendations: mysql tutorial(video)
The above is the detailed content of What should I do if the mysql database service cannot be found?. For more information, please follow other related articles on the PHP Chinese website!