Home > Database > Mysql Tutorial > body text

What should I do if mysql crashes too much?

藏色散人
Release: 2020-11-03 09:47:28
Original
7323 people have browsed it

The solution to the problem of mysql crashing: first enter the MySQL installation directory bin; then enter the command "mysqladmin -uroot password root"; finally open the MySQL 5.0 Command Line Client and enter the password root.

What should I do if mysql crashes too much?

Recommendation: "mysql video tutorial"

I just learned the database and installed MySQL. I am just happy. I found that my MySQL crashed. I have been searching online for a solution for a long time. Finally solved this problem and feel relieved.

The problem starts here:

Then I opened MySQL and wondered if it could be used, but it crashed.

Then I went to the server and checked whether it was turned on. I tried to turn it on and found that it didn't work either.

There are results on the Internet saying that I need to delete my.ini under Windows.

But, I hesitated for a long time. I felt that the problem was not here, and I didn’t want to delete it.

It is said on the Internet to set up hosts. I have already set up "127.0.0.1 localhost" before.

Some netizens said that they tried to operate cmd bala bala as an administrator for a long time. It doesn't work for me.

Later I found a method that felt closer to the answer I wanted. I tried it and it worked! ! ! !

The steps to solve the MySQL crash problem are as follows:

1. Use cmd to enter the MySQL installation directory bin;

2. Enter the command:
mysqladmin -uroot password root, and then press Enter.

At this time, the password of MySQL user root is set to root.


3. Open MySQL 5.0 Command Line Client, enter the password root, no crash occurs, and the problem is solved.

or

The above is the detailed content of What should I do if mysql crashes too much?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!