MySQL reference changes