fix remote mysql host and sed