statement grant rights mysql code example Example: grant update privilege command in mysql GRANT UPDATE ON table_name TO 'username'@'localhost';