1. 程式人生 > >MySQL安全模式執行並跳過許可權驗證

MySQL安全模式執行並跳過許可權驗證

window 下:

在my.ini 配置檔案中新增 --skip-grant-tables,重啟MySQL服務。

linux下:

# /usr/bin/safe_mysqld --skip-grant-tables