gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          破解本地的mysql用戶名和密碼

           
          Windows:
          1.用系統(tǒng)管理員登陸系統(tǒng)。
          2.停止MySQL的服務(wù)。
          3.進(jìn)入命令窗口,然后進(jìn)入MySQL的安裝目錄,比如我的安裝目錄是c:\mysql,進(jìn)入C:\mysql\bin
          4.跳過權(quán)限檢查啟動(dòng)MySQL,
          c:\mysql\bin>mysqld-nt --skip-grant-tables
          5.重新打開一個(gè)窗口,進(jìn)入c:\mysql\bin目錄,設(shè)置root的新密碼
          c:\mysql\bin>mysqladmin -u root flush-privileges password "newpassword"
          c:\mysql\bin>mysqladmin -u root -p shutdown
          將newpassword替換為你要用的root的密碼,第二個(gè)命令會(huì)提示你輸入新密碼,重復(fù)第一個(gè)命令輸入的密碼。
          6.停止MySQL Server,用正常模式啟動(dòng)Mysql
          7.你可以用新的密碼鏈接到Mysql了。

          Unix&Linux:
          1.用root或者運(yùn)行mysqld的用戶登錄系統(tǒng);
          2.利用kill命令結(jié)束掉mysqld的進(jìn)程;
          3.使用--skip-grant-tables參數(shù)啟動(dòng)MySQL Server
          shell>mysqld_safe --skip-grant-tables &
          4.為root@localhost設(shè)置新密碼
          shell>mysqladmin -u root flush-privileges password "newpassword"5.重啟MySQL Server

          posted on 2007-09-21 11:26 gembin 閱讀(1577) 評(píng)論(3)  編輯  收藏

          評(píng)論

          # re: 破解本地的mysql用戶名和密碼 2007-09-22 00:12 千里冰封

          呵呵,不錯(cuò),MARK一下  回復(fù)  更多評(píng)論   

          # re: 破解本地的mysql用戶名和密碼 2013-02-21 07:24 zxcvb

          fdsd  回復(fù)  更多評(píng)論   

          # re: 破解本地的mysql用戶名和密碼 2013-02-21 07:25 zxcvb

          打估計(jì)  回復(fù)  更多評(píng)論   


          只有注冊用戶登錄后才能發(fā)表評(píng)論。

          網(wǎng)站導(dǎo)航:
           

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          free counters
          主站蜘蛛池模板: 霍城县| 巢湖市| 贡觉县| 久治县| 峨眉山市| 广平县| 武定县| 寿光市| 彰化市| 微博| 田林县| 融水| 泰兴市| 英德市| 叙永县| 环江| 澄迈县| 江华| 永登县| 天柱县| 化州市| 辽中县| 英吉沙县| 临武县| 柳州市| 舞阳县| 长春市| 湾仔区| 政和县| 鲜城| 湖南省| 泰州市| 濮阳市| 德江县| 阿图什市| 扎鲁特旗| 绥芬河市| 汝城县| 丰都县| 尖扎县| 宜良县|