I am using the mysql database installed by phpstudy, but there is no mysql startup item in the service (does not affect use). The reason is that the mysql service is not installed when installing mysql.
The solution is as follows:
1. Run cmd.exe as an administrator (note the administrator identity!)
2. Enter the mysql bin directory
3. Install the mysql service
Installation service: mysqld --install
(Uninstall service: mysqld --remove)
Installation operation result:
4 . Check the local service and the mysql startup item
appears successfully
The above is the detailed content of Detailed explanation of why there is no mysql startup item in the service after the mysql database is installed. For more information, please follow other related articles on the PHP Chinese website!