mysql check account privileges code example Example: mysql check user privileges SHOW GRANTS FOR 'root'@'localhost';