stop mysql passwords being overwritten