1. <var id="fe6gj"></var>

    <rp id="fe6gj"><nav id="fe6gj"></nav></rp>

    <noframes id="fe6gj"><cite id="fe6gj"></cite>

    <ins id="fe6gj"><button id="fe6gj"><p id="fe6gj"></p></button></ins>
    1. <tt id="fe6gj"><i id="fe6gj"><sub id="fe6gj"></sub></i></tt>
        始創于2000年 股票代碼:831685
        咨詢熱線:0371-60135900 注冊有禮 登錄
        • 掛牌上市企業
        • 60秒人工響應
        • 99.99%連通率
        • 7*24h人工
        • 故障100倍補償

        忘記root密碼怎么辦?Windows平臺下MYSQL破解root密碼流程

        Windows平臺下MYSQL破解root密碼(忘記root密碼的解決方法)

        1、停止MYSQL服務,開始→運行→CMD打開DOS窗口,輸入 net stop mysql

        C:/Documents and Settings/skate_db>net stop mysql
        MySQL 服務正在停止.
        MySQL 服務已成功停止。

        2、在開始→運行→CMD命令行窗口,進入MYSQL安裝目錄

        C:/Documents and Settings/skate_db>cd C:/Program Files/MySQL/MySQL Server 5.0/bin

        3、進入mysql安全模式,即當mysql起來后,不用輸入密碼就能進入數據庫。

        C:/Program Files/MySQL/MySQL Server 5.0/bin>mysqld-nt --skip-grant-tables
        100423 10:27:27 [Warning] Changed limits: max_open_files: 2048  max_connections:
        800  table_cache: 619

        4、重新打開一個開始→運行→CMD命令行窗口,輸入mysql –u root -p,使用空密碼的方式登錄MySQL(不用輸入密碼,直接按回車)


        C:/Documents and Settings/skate_db>mysql -u root -p
        Enter password:
        Welcome to the MySQL monitor.  Commands end with ; or /g.
        Your MySQL connection id is 1 to server version: 5.0.22-community-nt
        Type 'help;' or '/h' for help. Type '/c' to clear the buffer.
        mysql>


        5、輸入以下命令開始修改root用戶的密碼(注意:命令中mysql.user中間有個“點”)

        命令:mysql> update mysql.user set password=PASSWORD('新密碼') where User='root';


        mysql> update mysql.user set password=password('root') where user='root';
        Query OK, 2 rows affected (0.06 sec)
        Rows matched: 2  Changed: 2  Warnings: 0


        6、保存配置,刷新權限表


        mysql> flush privileges;
        Query OK, 0 rows affected (0.00 sec)
        mysql>


        7、退出


        mysql> quit


        這樣MYSQL超級管理員賬號ROOT已經重新設置好了,因為心在mysql還是運行在安全模式下,所以在windows的任務管理器里kill掉mysql-nt.exe 這個進程,重新啟動mysql,用新設置的root密碼登錄。

        C:/Documents and Settings/skate_db>net start mysql
        MySQL 服務已經啟動成功。
        C:/Documents and Settings/skate_db>mysql -u root -p
        Enter password: ****
        Welcome to the MySQL monitor.  Commands end with ; or /g.
        Your MySQL connection id is 2 to server version: 5.0.22-community-nt
        Type 'help;' or '/h' for help. Type '/c' to clear the buffer.
        mysql>
        
        -----end-----



        分享到:
      1. 您可能在找
      2. 億恩北京公司:
      3. 經營性ICP/ISP證:京B2-20150015
      4. 億恩鄭州公司:
      5. 經營性ICP/ISP/IDC證:豫B1-20183354
      6. 億恩南昌公司:
      7. 經營性ICP/ISP證:贛B2-20080012
      8. 服務器/云主機 24小時售后服務電話:0371-60135900
      9. 虛擬主機/智能建站 24小時售后服務電話:0371-60135900
      10. 網絡版權侵權舉報電話:0371-60135995
      11. 警情提示:注意防范電信網絡詐騙
      12. 專注服務器托管19年
        掃掃關注-微信公眾號
        0371-60135900
        Copyright© 1999-2024 ENKJ All Rights Reserved 地址:鄭州市高新區翠竹街1號總部企業基地億恩大廈  法律顧問:河南亞太人律師事務所郝建鋒、杜慧月律師  B1-20183354   京公網安備41019702002023號 
          0
         
         
         
         

        0371-60135900
        7*24小時客服服務熱線

         
         
        av不卡不卡在线观看_最近2018年中文字幕_亚洲欧美一区二区三区_一级A爱做片免费观看国产_日韩在线中文天天更新_伊人中文无码在线