Standardize MySQL variables, use IP instead of hostname