“Cowcumber” was the standard English pronunciation of “cucumber” through the 18th century, retained in lower-class speech into the 19th. The folk etymology comes from a misreading of the Latin cucumis mixed with the assumption that the long fruit must be related to cattle somehow. Surfaced via Kottke.