skip-grant-tables(如權限不足)data/mysql 目錄data/mysql 重命名為 old_mysqldata/mysql 到 data/ 目錄old_mysql 中的 user、db、tables_priv 等表,比對異常帳號、權限異動CHECKSUM TABLE、行數、關鍵資料抽樣)MySQL 權限資訊儲存在 mysql 系統資料庫中。覆蓋為原廠預設的 mysql 資料庫,等同重置所有權限為出廠狀態(root 無密碼、無其他使用者)。
skip-show-database、local-infile=0localhost 登入mysql.user 表異常變更