# DBI connect to Intersystems Cache db

**URL:** <https://www.ruby-forum.com/t/dbi-connect-to-intersystems-cache-db/162492>\
**Category:** Ruby\
**Created:** [March 10, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/dbi-connect-to-intersystems-cache-db/162492 "2009-03-10T14:40:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkmd\_nielsen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/958977/32.png) [@dkmd\_nielsen](https://www.ruby-forum.com/u/dkmd_nielsen)\
**Post date:** [March 10, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/dbi-connect-to-intersystems-cache-db/162492/1 "2009-03-10T14:40:33Z")

</div>

I need assistance setting up a DBI:ODBC connection to an Intersystems  
Cache’ db. The db is across the network; it’s not on my machine.  
Frankly, I’m struggling with what to code for the dbi connect.

DBI.connect(‘DBI:ODBC:[What goes here?]’, ‘user’, ‘password’) {|db|

}

I don’t know what to code for the database name. Any pointers? I’ve  
tried using the cacheodbc.dll file name, the system dsn name from the  
MS ODBC Administrator. It shows how clueless I am.

Thanks for any and all assistance.  
dvn
