To Find list of users and permission granted them in MYSQL run following command :
Here (i) host component tells on which host they are connecting from.
(ii)% is a wild card character interprets as 'any ' host.
To find the privilege(s) granted to a particular MySQL account:
--> show grants for 'super'@'%';
Here super is user name and host name user concatenated by @ .
select user,host from MySQL.user;
Here (i) host component tells on which host they are connecting from.
(ii)% is a wild card character interprets as 'any ' host.
To find the privilege(s) granted to a particular MySQL account:
--> show grants for 'super'@'%';
Here super is user name and host name user concatenated by @ .


Comments
Post a Comment