A method for treating or preventing dry eyes is disclosed. The method comprising administering a compound to a subject in need thereof, wherein the compound is a 2,3,5,4′-tetrahydroxystilbene 2-O-β-D-glucopyranoside represented by the general formula (I) below, wherein R is a glucose.