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.
Before you start
Section titled “Before you start”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.
Find your connection details
Section titled “Find your connection details”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 |
Connect to Amazon Redshift from Mac
Section titled “Connect to Amazon Redshift from Mac”- Choose File › New Connection….
- Select Amazon Redshift in Driver.
- Enter a Name for the saved connection.
- Fill in the database fields from the table above.
- Select Verify Full in SSL Mode.
- Configure your SSH details if this connection uses a tunnel.
- Click Test.
- Review the connection result.
- Click Save & Connect after a successful test.
Password storage and other shared form options are described in connection basics.

Use a connection URL
Section titled “Use a connection URL”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-fullAfter import, check Driver, Host, Port, Database, and SSL Mode. Enter the password in the form before testing.
SSL/TLS and private networks
Section titled “SSL/TLS and private networks”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.
If it does not connect
Section titled “If it does not connect”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.
After connecting
Section titled “After connecting”Continue with the Redshift overview or write and run SQL.