Scenario: when 360 is used to remove garbage, a MySQL configuration file is deleted (PS: it should be the registry), resulting in a prompt: “MySQL service failed to read the description, error code: 2”
terms of settlement:
Detailed steps:
CMD administrator starts
switch to the database bin directory
enter the command SC delete MySQL
restart the computer
repeat actions 1 and 2
enter mysqld.exe – install
net start MySQL
precautions:
Restart the computer after the third step
in the sixth step, enter mysqld.exe – install instead of mysql.exe – install
Original link: https://blog.csdn.net/weixin_ 42437102/article/details/106380319
Similar Posts:
- MySQL installation error — failed to find valid data directory
- bash :startx command not found
- When installing MySQL database on Mac OS, the system prompts MySQL: command not found
- How to Solve MYSQL Startup Error: “MySQL Daemon failed to start”
- Python PIP installs scrapy with an error of twisted
- Completely solve MySQL error: 1030, ‘got error 28 from storage engine’
- Python — the copied virtual environment PIP command failed to run. Fatal error in launcher: unable to create process using
- The ‘MySQL daemon failed to start’ solution appears
- [Solved] MYSQL8 Error: ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- For piix4_ Solution of SMBus * * host SMBus controller not enabled (detailed steps summary)