connects to the database, returns error if clusterName doesn't exist