The following steps demonstrate how to create new Amazon Redshift data connections.
On the main navigation bar, click Data.
The Data view appears, open on the Datasets tab.
In the side bar, click New Connection.
The Create New Data Connection modal window appears.
AmazonRedshiftConnection
.Under Hostname or IP address, specify the name of your database host, or its IP address; use localhost
when the data source is local.
5439
.Under Database, specify the name of the database.
Here, we use my_database
.
Note: more than one database may be resident on the specified host.
Under Credentials, complete the following entries.
Under Username, enter the username for establishing the connection.
Under Password, enter the password for establishing the connection.
Click the Cache tab.
Select the Result Cache option to enable periodic cache updates.
In the Retention Time field, specify the frequency of cache updates, in seconds.
For example, the default value of 86400 indicates an update every 24 hours, and a value of 300 initiates a refresh every 5 minutes.
At the bottom of the modal, click Test.
If the connection is valid, the system returns a 'Connection Verified' message.
Click Connect.
After this operation succeeds, the new connection name appears on the side navigation bar.