MysqlServer item = platformLayerHelpers.getItem(getModel().databaseItem, MysqlServer.class);
if (USE_DNS_NAME) {
return item.dnsName;
} else {
Machine itemMachine = instanceHelpers.getMachine(item);
return itemMachine.getNetworkPoint().getBestAddress(NetworkPoint.forTargetInContext());
}
}