MySQLServer password retrieval

Source: Internet
Author: User
Tags mysql login

MySQLServer password retrieval

I recently used a server in the courtyard, but I don't know the MySQL password. However, I have to find a solution by myself. The process is very simple!

First, enter the following statement: mysqld -- defaults-file = "E: \ MySQL Server 5.1 \ my. ini (here is your mysql installation directory) "-- console -- skip-grant-tables, and then you can see the prompt as shown in, indicating that you have entered mysql management, the mysql login verification is skipped. You can operate the database below.

Next, install the normal program and modify the records in the user table in the mysql database.

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.