Connecting to an Amazon Redshift cluster using the SQL Workbench/J client
There are multiple ways to connect to an Amazon Redshift cluster, but one of the most popular options is to connect using a UI-based tool. SQL Workbench/J is a free cross-platform SQL query tool that you can use to connect to your own local client.
Getting ready
To complete this recipe, you will need to do the following:
- Create an Amazon Redshift cluster and the necessary login credentials (username and password).
- Install SQL Workbench/J (https://www.sql-workbench.eu/manual/install.html).
- Download Amazon Redshift Driver. Please check out Configuring a JDBC connection to download the latest driver version.
- Modify the security group attached to the Amazon Redshift cluster to allow a connection from a local client.
- Navigate to Amazon Redshift | Clusters | myredshiftcluster | General information to find the JDBC/ODBC URL for connecting to the Amazon Redshift cluster.