About MySQL Login exception handling methods-MySQL ERROR 1045 (28000)

Source: Internet
Author: User
Tags mysql login

Today, in the development process encountered a very troublesome problem??

Use Baidu Experience steps "http://jingyan.baidu.com/article/495ba841ef412d38b30edeb2.html" to modify the root password, resulting in a variety of errors can not be logged, such as:

MySQL ERROR 1045 (28000).

Find a lot of methods, the most typical is Skip-grant-tables method, but, I can not try.

Very disdain, and suddenly came to the inspiration. Ha ha

Here is my personal solution to "MySQL forgot password steps".

  Description: This method may only apply to MySQL decompression version, if as learning, please try, if the enterprise production, please carefully consider!

1. Stop MySQL service + Delete Service

2. Locate the "MySQL" folder in the database

3. Delete to Recycle Bin "have regret medicine to eat"-and copy a new initialized MySQL database folder

Haha, see here, should know what I want to do

4. Open a new CMD command window

5. Modify the root password using the correct password change command

6. This is done, take a breath. Ha ha

Experience: The development process of accumulating experiences, the brain will become more and more light, the way will be more and more.

So, I can use a lot of methods to deal with a problem, this is experience!!!

About MySQL Login exception handling methods-MySQL ERROR 1045 (28000)

Related Article

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.