The present disclosure relates to an N-(substituted naphthyl-ethyl)substituted amidecompound and uses thereof serving as a melatonin receptor agonist and 5-HT2creceptorantagonist, and specifically relates to the compound of formula (I) or apharmaceuticallyacceptable salt thereof, a solvate or a mixture of them, and a pharmaceuticalcomposition,where X, R1, and R2 are as defined in the present text.(see above formula)