- CREATE USER
create user karan@localhost identified by 'password'; - VIEW ALL USERS
select user, host from mysql.user; - VIEW CURRENT USER
select user(); - DROP USER
drop user karan@localhost - GRANT PRIVELEGES
grant all privileges on *.* to karan@localhost with grant option; - SHOW PRIVILEGES OF A USER
show grants;
show databasesuse databaseshow tables