-
-
Save mandalm/c3bf561968287f61dc2ae0b07484a5ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ brew install unixodbc | |
| $ brew tap pingles/homebrew-psqlodbc | |
| $ brew install psqlodbc | |
| # can now check the connection... | |
| $ isql -v redshiftodbc | |
| +---------------------------------------+ | |
| | Connected! | | |
| | | | |
| | sql-statement | | |
| | help [tablename] | | |
| | quit | | |
| | | | |
| +---------------------------------------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [redshiftodbc] | |
| Driver = PostgreSQL | |
| ServerName = some-cluster.something.eu-west-1.redshift.amazonaws.com | |
| Port = 5439 | |
| Database = data | |
| Username = dbuser | |
| Password = dbpass | |
| Debug = 0 | |
| Autocommit = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [PostgreSQL] | |
| Description = PostgreSQL | |
| Driver = /usr/local/lib/psqlodbcw.so | |
| Debug = 0 | |
| CommLog = 1 | |
| UsageCount = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment