MySQL port should be always integer (HHVM compatibility)