Solve the Problem of MySQL crash, mysql crash

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.