Legend has it that once Parvati, the associate of Shiva was reviled to become dull like Kali. She needed to expound herself from the transgression by doing compensation under the sanctuary's antiquated Mango tree close Vegavathi river. In request to test her dedication, Shiva sent fire on her.

 Goddess Parvati implored her sibling, Vishnu, for help. So as to spare her, he took the Moon from Shiva's head and demonstrated the beams which at that point chilled off the tree just as Parvati. Shiva again sent the stream Ganga (Ganges) to upset Parvati's compensation. 

Parvati Request to Ganga and persuaded her that the two were sisters thus ought not to hurt her. Accordingly, Ganga didn't upset her compensation and Parvati made a Shiva Linga out of the sand to get joined with Shiva. The God here came to be known as Ekambareswarar or "Master of Mango Tree".

As per another legend, it is accepted that Parvati adored Shiva as a Prithivi Lingam (or a Lingam ad-libbed out of sand), under a mango tree. Legend has it that the neighboring Vegavati waterway flooded and took steps to immerse the Shiva Lingam and that Parvati or Kamakshi grasped the Lingam. Shiva contacted by the signal appeared face to face and wedded her. In this setting, he is alluded to as Tazhuva kuzhainthaar ("He who liquefied in Her grasp")