Midas was king of Pessinus, a city of Phrygia, who as a child was adopted by the king Gordias and Cybele, the goddess whose consort he was, and who (by some accounts) was the goddess-mother of Midas himself.
Once, as Ovid relates in Metamorphoses XI Bacchus found his old schoolmaster and foster father, the satyr Silenus, missing.
The old satyr had been drinking wine and had wandered away drunk, later to be found by some Phrygian peasants, who carried him to their king, Midas (alternatively, he passed out in Midas' rose garden). Midas recognized him and treated him hospitably, entertaining him for ten days and nights with politeness, while Silenus entertained Midas and his friends with stories and songs.
On the eleventh day, he brought Silenus back to Bacchus in Lydia. Bacchus offered Midas his choice of whatever reward he wished for. Midas asked that whatever he might touch should be changed into gold.
Midas rejoiced in his new power, which he hastened to put to the test. He touched an oak twig and a stone; both turned to gold. Overjoyed, as soon as he got home, he ordered the servants to set a feast on the table. "So Midas, king of Lydia, swelled at first with pride when he found he could transform everything he touched to gold; but when he beheld his food grow rigid and his drink harden into golden ice then he understood that this gift was a bane and in his loathing for gold, cursed his prayer" (Claudian, In Rufinem). In a version told by Nathaniel Hawthorne, Midas found that when he touched his daughter, she turned into a statue as well.
Now, Midas hated the gift he had coveted. He prayed to Bacchus, begging to be delivered from starvation. Bacchus heard, and consented; he told Midas to wash in the river Pactolus.
Midas did so, and when he touched the waters, the power flowed into the river, and the river sands turned into gold. This explained why the river Pactolus was so rich in gold, and the wealth of the dynasty claiming Midas as its forefather no doubt the impetus for this etiological myth (Graves). Gold was perhaps not the only metallic source of Midas' riches: "King Midas, a Phrygian, son of Cybele, first discovered black and white lead".