MySQL學習筆記(9)DCL

九、DCL 一、管理用戶 一、查詢用戶 一、切換到mysql數據庫mysql 二、查詢user表web 二、建立用戶 create user '用戶名'@'主機名' identified by '密碼'; -- %表示任意主機 三、刪除用戶 drop user '用戶名'@'主機名'; 四、修改密碼 update user set password = password('新密碼') where
相關文章
相關標籤/搜索