Skip to content

Connect to Amazon Redshift from Mac

Use your Redshift endpoint and a database user name and password to connect from TableAI. Your Mac needs a network route to that endpoint.

Get these details from the warehouse administrator:

  • Endpoint hostname and database port.
  • Database name.
  • Database user name and password.
  • Required network access: direct access, VPN, or an SSH server.
  • Certificate requirements for SSL/TLS.

Use database credentials for User and Password. Your AWS console sign-in and AWS access keys are separate credentials.

For a provisioned cluster, open its details in the Amazon Redshift console. AWS shows the JDBC and ODBC connection strings there; see find your cluster connection string.

For Serverless, use the workgroup details to find the endpoint and connection strings. AWS documents this under connecting to Redshift Serverless. Use the database name and credentials supplied for your warehouse.

Read the hostname, port, and database from the connection string as separate values. Use the endpoint hostname for Host, rather than a cluster node’s IP address.

TableAI field Value
Host Endpoint hostname, without a URL scheme, port, or database path
Port Port configured for the endpoint; TableAI initially uses 5439
Database Database to open, not the cluster or workgroup name
User Database user name
Password That database user’s password
  1. Choose File › New Connection….
  2. Select Amazon Redshift in Driver.
  3. Enter a Name for the saved connection.
  4. Fill in the database fields from the table above.
  5. Select Verify Full in SSL Mode.
  6. Configure your SSH details if this connection uses a tunnel.
  7. Click Test.
  8. Review the connection result.
  9. Click Save & Connect after a successful test.

Password storage and other shared form options are described in connection basics.

Amazon Redshift connection form with endpoint, database login, and Verify Full selected

Import from URL accepts the redshift scheme. This example uses synthetic details and omits the password:

redshift://demo_user@warehouse.example.com:5439/docs_bookstore?sslmode=verify-full

After import, check Driver, Host, Port, Database, and SSL Mode. Enter the password in the form before testing.

AWS recommends certificate and hostname verification. Keep the Redshift DNS endpoint in Host with Verify Full. If your administrator supplies a CA certificate, select it as Root CA using the SSL/TLS settings.

For a private endpoint, connect to the required VPN or enable Connect via SSH. With an SSH tunnel, keep the Redshift endpoint in the database Host field. Put the bastion hostname in the separate SSH Server field.

The database port must be reachable from your Mac for direct access, or from the SSH server for a tunnel. Ask the administrator to check the relevant AWS security group rules.

TableAI shows the database or network error when the test fails. These messages identify different checks:

Error text Check first
Connection timed out VPN route, endpoint port, and AWS security group access from the connecting machine
Connection refused Endpoint hostname, port, and warehouse availability
password authentication failed for user Database user and password supplied for this warehouse

AWS lists network messages in its connection troubleshooting guide. For TableAI diagnostics, use connection failed, TLS certificate errors, or SSH tunnel errors.

If you need administrator help, send the endpoint, port, database, user, exact error, and time through your approved support channel. Exclude passwords, private keys, and connection URLs containing credentials.

Continue with the Redshift overview or write and run SQL.