mysql5.7 修改root密碼沒法登錄緣由

升級的mysql5.7修改完root帳戶密碼後仍然沒法登錄,查閱資料可能和user表的plugin 字段爲空有關。mysql 一、首先將my.ini中加入在[mysqld]節點上加skip-grant-tables 主要做用是:跳過表中的驗證,能夠無密碼登錄。sql 二、登陸以後查詢plugin字段值: spa mysql> select plugin from user where user =
相關文章
相關標籤/搜索