mysql grant privileges

grant all privileges on dbname.* to dbuser@localhost identified by ‘dbpass’;