天天看點

【實用小技巧】Access denied for user \'root\'@\'localhost\' 報錯解決

到mysql安裝目錄修改my.ini檔案,在檔案末尾追加一句

skip-grant-tables      

然後重新開機mysql服務即可