MySql: adjusting to use the correct HOSTNAME attribute in DB_URL
PostgreSql: adjusting to use the correct HOSTNAME attribute in DB_URL and adding SERVICE_UP check in SshMachineLocations