The invention relates to the compounds of formula I or its pharmaceutical acceptable salts, as well as polymorphs, solvates, enantiomers, stereoisomers and hydrates thereof. The pharmaceutical compositions comprising an effective amount of compounds of formula I, and methods for the treatment of local pain may be formulated for oral, buccal, rectal, topical, transdermal, transmucosal, intravenous, parenteral administration, syrup, or injection. Such compositions may be used to treatment of moderate to severe pain, neuropathic pain, post herpetic neuralgia and rheumatic pains.