Sorry :

It is not posted correctly : It should be like

grant connect,resource,dba to username identified by pwd;