數據庫的庫和表的創建刪除以及用戶授權和約束

一、數據庫的用戶權限授予 賬號管理的語句主要有: 0.查詢用戶 SELECT * from user; 1.創建用戶並設置登錄密碼 create user ls identified by ‘123456’; 2.查看用戶信息 select host,user,authentication_string from user; 3.刪除用戶(慎用) #命令:drop user 用戶名; #drop
相關文章
相關標籤/搜索