#1045,

來源:互聯網
上載者:User

#1045,
        如上所示,當我們修改資料庫的密碼之後,再次進入phpmyadmin的時候,就會產生這種錯誤#1045 - Access denied for user 'root'@'localhost' (using password: NO) 。那這種錯誤產生的原因是什麼呢?解釋就是,密碼修改後,新舊密碼不一致產生的。改正過來其實也很簡單,在phpmyadmin3.4.10.1檔案夾下找到config.inc.php這個檔案,然後找到裡面$cfg['Servers'][$i]['password'] = '';(預設的密碼是為空白的)。在這個地方填上你的新密碼就行了!然後重啟Apache,運行程式就Ok!


相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.