mysql failed to start (prompt that it cannot start)

There are many solutions, here is one of the fastest

There are two ways to start MySQL under the window:

Open cmd with administrator privileges and executenet start mysql。

Open cmd with administrator privileges, enter the MySQL installation directory bin, and executemysqld --console。

If the first startup method is unsuccessful, you can try the second method according to the following steps.

The first step is to kill the MySQL residual process

Before starting the second method, kill the mysqld process first. implement

tasklist| findstr "mysql"  

Check to see if there is a mysqld process.
If there is a mysqld process in the picture, execute

taskkill/f /t /im mysqld.exe  

The second step is to start MySQL

Go to the MySQL installation directory bin, execute

mysqld --console

Guess you like

Origin blog.csdn.net/qq_47272950/article/details/129381525