Linux User Password lost recover method:
my own The CentOS 6.4 is installed on the VirtualBox virtual machine and is resolved as follows:
when booting up, press the " E"key or"ESC"Key will enter the following interface.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/99/FD/wKioL1lP2sbiQ_ddAAEJDKQHlOQ725.png-wh_500x0-wm_ 3-wmp_4-s_3394667631.png "title=" 1.png "alt=" Wkiol1lp2sbiq_ddaaejdkqhloq725.png-wh_50 "/>
Select the appropriate kernel and press the E", appear, select the second item, press the"e"key again
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/99/FC/wKiom1lP2yCAqI7EAAHQIGpufTI860.png-wh_500x0-wm_ 3-wmp_4-s_817891314.png "title=" 2.png "alt=" Wkiom1lp2ycaqi7eaahqigpufti860.png-wh_50 "/>
3. after the second step, this screen can be edited, at the end of the message with "space", directly enter the number of "1" () or type "single" is also OK, enter the next step.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/99/FD/wKioL1lP2zWBvvonAAFK74YlqcM959.png-wh_500x0-wm_ 3-wmp_4-s_3059883495.png "title=" 3.png "alt=" Wkiol1lp2zwbvvonaafk74ylqcm959.png-wh_50 "/>
4. after the third step of operation, will appear, is it feeling back to the second step? No, here's the "B" key to the keyboard to enter the boot system. Notice, here's the "B" key .
650) this.width=650; "Width=" 554 "height=" 309 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
Retrieve the Lost mysql root user password:
Http://www.jb51.net/article/77858.htm
Close the running MySQL :
[[Email protected] ~]# service MySQL stop
Run
[Email protected] ~]# Mysqld_safe--skip-grant-tables &
For security, you can disable remote connections like this:
[Email protected] ~]# mysqld_safe--skip-grant-tables--skip-networking &
This article from "IT520" blog, reproduced please contact the author!
Linux User Password lost recovery method