get database hostname from system property