Interacting selectively and non-covalently with ectoine, 1,4,5,6-tetrahydro-2-methyl-4-pyrimidinecarboxylic acid.