I usually just take a look at the users' table in mysql to determine what users have access to databases and from what hosts. I ran across this nifty command today that will print it all out nicely in an ssh shell. mysql -u root -B -N -p -e "SELECT user, host FROM user" mysql