The first mention the torah makes of wine and vineyards is in Gen 9:20-21, when Noach plants a vineyard and then gets drunk on wine after the flood. What prompted him to plant a vineyard as, apparently, his first agricultural project, and did he know that he would become intoxicated? Or was that result an accident and alcohol was previously unknown in the world?
Rashi says (on 9:20) that he brought vine branches into the ark with him, suggesting that grape vines weren't new, but that doesn't answer the question about the intoxicating effects. (Maybe previously they only ate the grapes and didn't ferment them.)