It is impossible to pinpoint an exact location or time for the "discovery" of milking a cow.
Why It Cannot Be Pinpointed
Ancient practice: Milking dates back thousands of years and likely arose independently in different parts of the world.
No written record: There are no records from the earliest times to tell us exactly when or where it began.
Evolutionary development: The practice likely evolved gradually, from observing calves nursing to learning to extract milk.
What We Know
Cattle domestication: Occurred around 10,000 years ago in the Near East, South Asia, and Europe.
Archaeological evidence: Pottery shards with milk residue suggest milking was widespread in ancient Europe, Asia, and Africa.
In summary, milking has been around for a very long time and likely arose independently in different regions as humans learned to domesticate and utilize cattle.