Changing Connectivity Settings for Data Sources
This topic describes how to change the connectivity settings for an existing data source.
For a short video overview of changing connectivity settings, see below.
After you have modeled your data in the ElastiCube, a data source may have changed location or you may want to change a table without importing a new table into your schema from scratch. If this happens, you can update your connection settings to the data source.
When updating connectivity settings, you can choose one of the following:
- Change Provider : This enables you to change the source of the data being accessed, for example changing a provider from SQL Server to MySQL. After you select the new provider, you need to choose the relevant database and tables from the new provider. This is useful if you want to replace a table in your schema with a new data source, but don’t want to change your schema.
- Change Connection : This enables you to use the same provider, but change your credentials to the data source or the database previously selected.
- Change Table : This enables you to use the same provider and credentials, but change the database previously selected.
When updating your connection settings, you can validate that the query to the new data source is working by parsing the query. If the query fails, you can update the connection setting for the table where the connection failed.
If a table has changed, but the source and its settings are the same, for example a new column was added, and you want to update your schema without importing the data into the schema all over again, click Refresh in the table’s menu.
Note:
The data source name, columns, and column types must remain the same for existing widgets in the dashboard to be able to reference the data correctly.
The table below describes which sources support changing connectivity settings in the web-based ElastiCube Manager:
Data Source | Connection Settings | Change Database | Table Settings | Sync Columns |
---|---|---|---|---|
Excel |
N/A |
N/A |
Yes |
Yes |
CSV |
N/A |
N/A |
Yes |
Yes |
Google Sheets |
Yes |
Yes |
Yes |
Yes |
MySQL |
Yes |
Yes |
Yes |
Yes |
SQL Server |
Yes |
Yes |
Yes |
Yes |
PostgreSQL |
Yes |
Yes |
Yes |
Yes |
Oracle |
Yes |
Yes |
Yes |
Yes |
Redshift |
Yes |
Yes |
Yes |
Yes |
To change connectivity settings :
-
In your schema, select the Data Source view in the Navigation Pane.
-
For the relevant data source, select > Connection Settings and one of the following options:
Change Provider : Selecting this option opens the first step of the Connection Wizard where you select the data source. In the Connection Wizard, click to select a data source connection type, for example, change MySQL to an Oracle database. When done, enter the connection credentials and select the relevant tables.
Change Connection : Selecting this option opens the second step of the Connection Wizard where you define the connection settings of the data source. In the Connection Wizard, click to edit the login details to the data source. When done, select the relevant tables.
Change Table : Selecting this option opens the third step of the Connection Wizard where you select the relevant database from a list of databases in your data source. In the Connection Wizard, select the relevant database.
-
After you have selected the relevant database in the Connection Wizard, click Done. The connection settings are updated.
.r.