select user,host,password from mysql.user;mysql
grant pression_list on db_name.table_name to user_name identified by 「pasword」 ;sql
CREATE USER ‘用戶’@’主機’ IDENTIFIED BY ‘密碼’;數據庫
drop user ‘user_name’@’主機域’ ;ide
show grants for oldboy@localhost\G ;線程
REVOKE pression_list ON db_name.table_name FROM ‘user_name’@’主機域’ ;ssl
flush privileges;io
desc tables;table
show full processlist;select
show status ;權限