ref
train + -er
trainer (n.)
c. 1600, "one who educates or instructs," agent noun from train (v.). Meaning "one who prepares another for feats requiring physical fitness" is from 1823, originally of horse-trainers.