Once two merchants to carry out their business. Of them one was a Shiva devotee.He used to do his daily routine work after worshipping Shiva. Another man who came with him made a trick and put some sand in a bag made him to think that it was a Linga.He told him that was the Linga and garlanded it. The devotee believed that it was Linga and started worshipping it.After completion of puja, the man who made the form told him that it was a bag containing sand. But to their surprise it became real linga.The bag which contains grams is known as 'Mokkani'. So the presiding deity is known as Mokkaneesvarar.