MySQL forgot password how to hack

Source: Internet
Author: User


Stop the MySQL service first, and then start the background by skipping permissions:

/usr/bin/mysqld_safe--user=mysql--skip-grant-tables &

Then execute MySQL enter into MySQL and then change the password.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/88/F4/wKioL1gDFy-wcuvFAAFaCnmdrzw680.png-wh_500x0-wm_3 -wmp_4-s_983303422.png "title=" 1.png "alt=" Wkiol1gdfy-wcuvfaafacnmdrzw680.png-wh_50 "/>

To modify the MySQL password:

Use MySQL database, and then execute the following command

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/88/F7/wKiom1gDF1ySGErjAAB57KYWIGU297.png-wh_500x0-wm_3 -wmp_4-s_1099321556.png "title=" 2.png "alt=" Wkiom1gdf1ysgerjaab57kywigu297.png-wh_50 "/>

When you're done modifying, stop MySQL and start again in the normal way:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/88/F4/wKioL1gDF3ySBOttAADRi86joAk288.png-wh_500x0-wm_3 -wmp_4-s_1170718335.png "title=" 3.png "alt=" Wkiol1gdf3ysbottaadri86joak288.png-wh_50 "/>

Login again with the new password to access the MySQL database.

MySQL forgot password how to hack

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.