IBM DB2 Database

This example discusses how to connect Tableau to a IBM DB2 database.
  1. Select Data > Connect to Data to open the Connect to Data page.
  2. Select IBM DB2.
  3. Follow the steps in the IBM DB2 Connection dialog box to complete the connection.
    1. Step 1 – Type the name of the server that hosts the database.
      The port is dependent on the type of server you are connecting to and whether you are connecting to an encrypted port. Generally, use 50000 for a non-encrypted port and 60000 for an encrypted port. It is possible that your server is configured to use a non-standard port. Contact an administrator if you don't know which port to connect to.
    2. Step 2 – Enter the database name that you want to connect to.
    3. Step 3 – Enter your username and password to log on to the server.
    4. Step 4 – Test the connection.
      If the connection is successful, Tableau will alert you. If the connection is unsuccessful, verify that your user name and password are correct. If the connection continues to fail, your computer is having trouble locating the server. Contact your network administrator or database administrator.
    5. Step 5 – Select a table or view from the database.
      IBM DB2 databases can contain multiple tables and views. Specify which table or view within the database you want to connect to. You can also connect to multiple tables or a specific query by selecting the Multiple Tables and Custom SQL options.
    6. Step 6– Give the connection a name for use in Tableau.
      Specify a unique name for the connection. The default name is automatically generated based.
A completed Connection dialog box for IBM DB2 is shown below.

2 comments: