The store is located right off of South White Road.
The owner said that this is the first time a winner has hit the jackpot at Ernie's.
In case you missed Tuesday's winning Mega Millions numbers: 1, 2, 4, 19, 29 with a Megaball of 20.
"I'm so happy," said owner Kewal Sachdev.
Out of the 44 states plus Washington DC and the U.S. Virgin Islands, the only winning jackpot ticket was purchased in the Bay Area.
Lottery officials said winners have one year to claim their jackpot.
We have one #MegaMillions jackpot winning ticket in #California. We're still awaiting results from other states. The winning California ticket was sold in #SanJose at Ernie's Liquors on South White Road. #CALottery— California Lottery (@calottery) July 25, 2018