MySQL用戶權限

MySQL用戶權限簡單例子:mysql   mysql> grant all privileges on *.* to 'root'@'localhost' ; 給root用戶授予localhost機器上的全部數據庫的全部權限。   mysql> grant usage on *.* to 'user'@'localhost'; 給user用戶授予localhost機器上的全部數據庫的使用權限。
相關文章
相關標籤/搜索