不當心誤刪@‘local’操做恢復

今天在測試用戶權限的時候不當心把User: ''@'localhost';用戶刪除了 致使任何用戶登陸都無權限操做html 恢復過程mysql   中止mysql服務;在mysql安裝目錄下找到my.ini(linux下是);在my.ini中找到如下片斷[mysqld];另起一行加入代碼:skip-grant-tables 並保存linux service mysqld restart(linux
相關文章
相關標籤/搜索