How to grant privileges in MySQL

grant all on Database.* to 'User'@'Host';
grant alter, alter routine, create, create routine, create temporary tables, create view, delete, drop, event, execute, index, insert, lock tables, references, select, show view, trigger, update on Database.* to 'User'@'Host';