User Permission MySQL

SELECT host, user, select_priv, update_priv FROM user;
SELECT host, db, user, select_priv, update_priv FROM db;