开心六月综合激情婷婷|欧美精品成人动漫二区|国产中文字幕综合色|亚洲人在线成视频

    1. 
      
        <b id="zqfy3"><legend id="zqfy3"><fieldset id="zqfy3"></fieldset></legend></b>
          <ul id="zqfy3"></ul>
          <blockquote id="zqfy3"><strong id="zqfy3"><dfn id="zqfy3"></dfn></strong></blockquote>
          <blockquote id="zqfy3"><legend id="zqfy3"></legend></blockquote>
          打開APP
          userphoto
          未登錄

          開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

          開通VIP
          Mysql忘記密碼:關(guān)于ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)的問題

            命令行登錄mysql時(shí),出現(xiàn)ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)的提示。查了不少教程,通過折騰找到下述解決方案:

            解決方法:

              1. 停掉mysql服務(wù)

              2. 找到mysql安裝目錄下的my.ini,找到里面的[mysqld] 然后在下面加上skip_grant_tables(啟動(dòng)MySQL服務(wù)的時(shí)候跳過權(quán)限表認(rèn)證)

              3. cmd -> net start mysql -> mysql回車  成功登錄后出現(xiàn)mysql提示符

              4. 輸入use mysql (mysql的密碼存在于mysql表中,因此打開該表)

              5. 修改密碼:update user set authentication_string = password("新設(shè)置的密碼") where user="root";(我這里mysql的版本是5.7,其中密碼列的屬性叫做authentication_string;5.1的是password);如果不清楚屬性可以用phpmyadmin等插件進(jìn)入查看

              6. 刷新權(quán)限:flush privileges;

              7. 退出:quit;

              8. 將my.ini中的skip_grant_tables去掉,恢復(fù)登錄時(shí)候的權(quán)限表認(rèn)證

              9. 重啟mysql服務(wù),再使用root和修改的密碼登錄即可:mysql -u root -p 新設(shè)置的密碼

           

          本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)
          打開APP,閱讀全文并永久保存 查看更多類似文章
          猜你喜歡
          類似文章
          解決mysql“Access denied for user root@localhost”
          解決Access denied for user 'root'@'localhost' (using password:YES)
          連接MySQL數(shù)據(jù)庫時(shí)常見故障問題的分析與解決
          忘記mysql密碼后,解決ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using pa
          MySQL密碼正確卻無法本地登錄-1045 Access denied for user 'root'@'localhost' (using password:YES
          Access denied for user 'root'@'localhost' (us...
          更多類似文章 >>
          生活服務(wù)
          分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
          綁定賬號(hào)成功
          后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
          如果VIP功能使用有故障,
          可點(diǎn)擊這里聯(lián)系客服!

          聯(lián)系客服