On Friday, November 24, 2017 at 9:47:47 AM UTC-8, saiyam agarwal wrote:
>
> I'm trying to connect Snowflake Data Warehouse using Sequel gem and
> snowflake ODBC driver.
>
> db = Sequel.odbc(:drvconnect=>'
> driver={<PATH>/snowflake_odbc/lib/libSnowflake.so};server=
> abc.snowflakecomputing.com;role=sysadmin;database=TestDB;warehouse=LOAD_WH;user:admin;
>
> password:password')
>
> But I'm getting an error below and not able to figure it out.
>
> <Sequel::DatabaseConnectionError: ODBC::Error: IM002 (0) [unixODBC][Driver
> Manager]Data source name not found, and no default driver specified>
>
> Can some please help me out in solving an issue?
>
I have no experience with snowflake, so I'm not sure. This doesn't appear
a Sequel issue. Please see if you can get a connection using ruby-odbc
directly. If you can post how get a connection with ruby-odbc, but can't
get it working with Sequel, I should be able to help getting it to work
with Sequel.
Thanks,
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.