26 lines
605 B
Plaintext
26 lines
605 B
Plaintext
---
|
|
title: Amazon Redshift
|
|
hide_title: true
|
|
sidebar_position: 5
|
|
version: 1
|
|
---
|
|
|
|
## AWS Redshift
|
|
|
|
The [sqlalchemy-redshift](https://pypi.org/project/sqlalchemy-redshift/) library is the recommended
|
|
way to connect to Redshift through SQLAlchemy.
|
|
|
|
You'll need to the following setting values to form the connection string:
|
|
|
|
- **User Name**: userName
|
|
- **Password**: DBPassword
|
|
- **Database Host**: AWS Endpoint
|
|
- **Database Name**: Database Name
|
|
- **Port**: default 5439
|
|
|
|
Here's what the connection string looks like:
|
|
|
|
```
|
|
redshift+psycopg2://<userName>:<DBPassword>@<AWS End Point>:5439/<Database Name>
|
|
```
|