Updated for searching the cloud node for mysql, fix external access for
creating portal db