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

          Unix&Linux:
          1.用root或者運行mysqld的用戶登錄系統;
          2.利用kill命令結束掉mysqld的進程;
          3.使用--skip-grant-tables參數啟動MySQL Server
          shell>mysqld_safe --skip-grant-tables &
          4.為root@localhost設置新密碼
          shell>mysqladmin -u root flush-privileges password "newpassword"5.重啟MySQL Server

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

          評論

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

          呵呵,不錯,MARK一下  回復  更多評論   

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

          fdsd  回復  更多評論   

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

          打估計  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。

          網站導航:
           

          導航

          統計

          常用鏈接

          留言簿(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

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          free counters
          主站蜘蛛池模板: 偃师市| 堆龙德庆县| 华蓥市| 门头沟区| 杭州市| 阳高县| 营山县| 葫芦岛市| 古丈县| 曲阳县| 绥棱县| 安陆市| 会宁县| 金坛市| 从化市| 织金县| 广汉市| 德阳市| 永川市| 华容县| 龙南县| 哈尔滨市| 吉安县| 赣榆县| 明光市| 陵川县| 英吉沙县| 吉首市| 高邑县| 卓尼县| 项城市| 哈巴河县| 会同县| 阿巴嘎旗| 县级市| 聊城市| 葵青区| 浮山县| 将乐县| 济宁市| 资阳市|