Solve the Problem of MySQL crash, mysql crash
I just learned about the database and installed MySQL. I was so happy that I found that my MySQL showed a crash. I searched the internet for a long time. Finally, we solved this problem and made it easier.
The problem starts from here:
Then I opened MySQL to find out if I could use it. The result flashed back.
Then I went to the server and checked whether it was enabled. I tried to enable it and found that it could not work either.
On the Internet, it is reported that my. ini under Windows will be deleted.
However, I have been hesitating for a long time. I feel that this is not the case and I do not want to delete it.
I have already set up hosts for "127.0.0.1 localhost.
Some netizens said that they had tried cmd Bala as an administrator for a long time. It's not easy for me.
Later, I found a way to get the answer that I wanted. I tried it and got it !!!!
Follow these steps to solve the problem:
1. Use cmd to enter the MySQL installation directory bin;
2. Enter the following command:
Mysqladmin-uroot password root, then press enter,
In this case, the MySQL user root password is set to root.
3. Open MySQL 5.0 Command Line Client and enter the password root. The problem is solved.
Or