
Under Table, select a table or use the text box to search for a table by name. For example, use a data source naming convention that helps other users of the data source figure out which data source to connect to. (Optional) Select the default data source name at the top of the page, and then enter a unique data source name for use in Tableau. On the data source page, do the following: If you still can't connect, yourĬomputer is having trouble locating the server. If Tableau can't make the connection, verify that your credentials are correct. For more information, see Run Initial SQL. (Optional) Select Initial SQL to specify a SQL command to run at the beginning of every connection, such as when you open the workbook, refresh an extract, sign in to Tableau Server, or publish to Tableau Server. Select the Require SSL check box when connecting to an SSL server. Note: If you're using a Mac, and it is not attached to the domain correctly, the Mac won't know that Kerberos is being used in the domain, and the Authentication drop-down list won't be available. If the server is password protected, and you are not in a Kerberos environment, you must enter the user name and password. Specify whether to use Integrated Authentication or User Name and Password. Select how you want to sign in to the server. Then do the following:Įnter the name of the server that hosts the database that you want to connect to. For a complete list of data connections, select More under To a Server. Start Tableau and under Connect, select PostgreSQL. Make the connection and set up the data source See instructions on the Driver Download (Link opens in a new window) page.
#POSTGRESQL MAC TUTORIAL INSTALL#
On Linux and Mac computers, you'll need to install a driver for this connector when you use it with Tableau Desktop or Tableau Prep Builder. A new JDBC driver for PostgreSQL supports these connections and is included with all Tableau products on Windows. Note: Beginning with Tableau 2020.4, you can connect to PostgreSQL 12 (or higher) databases from Tableau. If the driver is not installed on your computer, Tableau displays a message in the connection dialog box with a link to the Driver Download (Link opens in a new window) page where you can find driver links and installation instructions.

You might already have the required driver installed on your computer. This connector requires a driver to talk to the database. (Optional) Initial SQL statement to run every time Tableau connects

Name of the server that hosts the database you want to connect toĪuthentication method: Integrated Authentication or user name and password Before you beginīefore you begin, gather this connection information: To a PostgreSQL database and set up the data source.
#POSTGRESQL MAC TUTORIAL HOW TO#
This article describes how to connect Tableau
