In Tableau, one connects to a database via a Data Source. Therefore, to establish connectivity between a Tableau Server and your data source host, you create a data source with Tableau Desktop, then publish the data source to Tableau Server. Make sure the database drivers are also installed on the Server.
If I've misunderstood your question, please add more context. It was rather short and I'm guessing what you're trying to understand