Tableau error when communicating to database

I am having an issue with my tableau database software. It is giving an error message which says it can not communicate with the database. How can i get rid of this error? Thank you.

An error occurred while communicating with the data source.
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
