SUMMARY
The following document describes the steps needed to connect to an Amazon RedShift database using the Amazon RedShift ODBC Driver in Strategy Analytics Enterprise 9.4.x - 10.x
Steps to connect to Amazon RedShift using the Amazon RedShift ODBC Driver on Linux
[Driver] DriverManagerEncoding=UTF-8 ErrorMessagesPath=/usr0/odbc/amazon/redshift/linux/1.2.1.1001/ErrorMessages LogLevel=0 LogPath=/usr0/odbc/amazon/redshift/linux/1.2.1.1001/ # Generic ODBCInstLib # iODBC #ODBCInstLib=libiodbcinst.so # AmazonDM / unixODBC ODBCInstLib=libodbcinst.so
#
# ODBC Driver for Amazon Redshift
#
REDSHIFT_PATH=<REDSHIFT_PATH>
AMAZONREDSHIFTODBCINI=<REDSHIFT_INI_PATH>
export AMAZONREDSHIFTODBCINI
if [ "${REDSHIFT_PATH}" != '<REDSHIFT_PATH>' ]; then
export REDSHIFT_PATH
mstr_append_path LD_LIBRARY_PATH "${REDSHIFT_PATH:?}"/
export LD_LIBRARY_PATH
fi[ODBC Data Sources] MyAmazonRedShiftDSN=Amazon Redshift (x86)
[MyAmazonRedShiftDSN] Description=Amazon Redshift ODBC Driver (32-bit) DSN Driver=<path to libamazonredshiftodbc32.so> Server=<server> Port=<port> Database=<database> locale=en-US
Once these steps have been followed, users should be able to connect to Amazon RedShift using the Amazon RedShift ODBC driver.
Steps to Connect the Amazon RedShift ODBC Driver on Windows
On Windows, the setup is much simpler; simply fill out the options in the new connection similar to the following (DSN, Server, Port, Database, and Credentials will all depend on your setup) and connection should work.
