[Freeswitch-users] Problem connecting to Spidermonkey ODBC
Adam Wilt
wiltingtree at gmail.com
Sat Oct 17 18:11:27 PDT 2009
Brian,
Here's how I'm using the ODBC in my .js file:
use("ODBC");
var DSN="mydsn";
var DB_USER="myuser";
var DB_PASS="mypass";
.
.
.
var db = new ODBC(DSN, DB_USER, DB_PASS);
db.connect();
.
.
.
Thanks.
On Sat, Oct 17, 2009 at 8:56 PM, Brian West <brian at freeswitch.org> wrote:
> How are you using this from your javascript code?
>
> /b
>
> On Oct 17, 2009, at 7:13 PM, Adam Wilt wrote:
>
> >
> > 2009-10-17 23:56:21.848930 [ERR] switch_odbc.c:188 STATE: IM002 CODE
> > 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and
> > no default driver specified
> >
> > 2009-10-17 23:56:21.848930 [ERR] mod_spidermonkey_odbc.c:245
> > Database is not connected!
> >
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091017/fe92f105/attachment-0002.html
More information about the FreeSWITCH-users
mailing list