The invention relates to the compounds of formula I, formula II, formula III, formula IV, formula V, formula VI, formula VII and formula VIII, or its pharmaceutical acceptable polymorphs, solvates, enantiomers, stereoisomers and hydrates thereof. The pharmaceutical compositions comprising an effective amount of compounds of formula I, formula II, formula III, formula IV, formula V, formula VI, formula VII and formula VIII, and methods for the treatment of mucositis may be formulated for oral, mouth wash, buccal, rectal, topical, transdermal, transmucosal, intravenous, oral solution, buccal mucosal layer tablet, parenteral administration, syrup, or injection. Such compositions may be used to treatment of oral and gastrointestinal mucositis, mucosal inflammatory and oral infectious diseases.