Graham Christensen

Listing Users with Database Access

posted on May 24 2009

SELECT User FROM mysql.db WHERE Db = 'databasename';

Only issue with this, is it doesn’t list the users who have global permissions (ie: *.*).

About

Graham works for Tumblr and is infatuated by NixOS.