View the local service status
-- Go to the bin directory where mysql is installed (run as administrator) CD /mysql/binCopy the code
- Check whether any application occupies mysql service port 3306
netstat -ano
Copy the code
- Delete the service and reload it to start
mysqld --initialize-insecure
mysqld --install
net start mysql
Copy the code