2

I am trying to connect to A DB on Redshift in r using following syntax (I am using a Mac):

odbcConnect("xxxxaddresss.redshift.amazonaws.com:5439", uid = "xxxx", pwd = "xxxx")

and get the following errors.

Warning messages:

1: In RODBC::odbcDriverConnect("DSN=xxxxaddresss.redshift.amazonaws.com:5439;UID=xxxx;PWD=xxxx") : [RODBC] ERROR: state IM012, code 0, message [unixODBC][Driver Manager]DRIVER keyword syntax error

2: In RODBC::odbcDriverConnect("DSN=xxxxaddresss.redshift.amazonaws.com:5439;UID=xxxx;PWD=xxxx") :

ODBC connection failed

What is the reason of the problem?

nrussell
  • 18,382
  • 4
  • 47
  • 60

0 Answers0