Creating the Data Source Name
This section describes how to edit the DSN configuration and then authenticate and connect to Greenplum APIs.
Editing the DSN Configuration
You can use the Microsoft ODBC Data Source Administrator to edit the DSN configuration. Note that the DSN is created during the installation process, as described in Installing the Connector.
Complete the following steps to edit the DSN configuration:
- Select Start > Search, and enter ODBC Data Sources in the Search box.
- Choose the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
- Click the System DSN tab.
- Select the system data source and click Configure.
- Edit the information on the Connection tab and click OK.
Connecting to Greenplum
To connect to Greenplum, set the Server, Port (the default port is 5432), and Database connection properties and set the User and Password you wish to use to authenticate to the server. If the Database property is not specified, the connector connects to the user's default database (it will be the same name as the user).
The CData Power BI Connector for Greenplum supports the md5, password, Kerberos and SASL (particulary, SCRAM-SHA-256) authentication methods.
The specific authentication method is setup in the pg_hba.conf file on the Greenplum Server. You may find instructions about authentication setup on the Greenplum Server here. The md5, password and SASL authentication methods do not require additional setup by the CData Power BI Connector for Greenplum.
Authenticating with Kerberos
The authentication with Kerberos is initiated by Greenplum Server when the CData Power BI Connector for Greenplum is trying to connect to it. You should setup Kerberos on the Greenplum Server to activate this authentication method. Once you have Kerberos authentication setup on the Greenplum Server, see Using Kerberos for details on how to authenticate with Kerberos by the connector.
See Getting Data for the next step, which is connecting to the data that you want to work with.