[Freeswitch-users] ODBC through JS

Baskar yudha2008 at gmail.com
Tue Oct 21 00:14:27 PDT 2008


After setting the permission also i cant able to run the  js odbc  script

freeswitch at hp30094686650.optimus.co.in> jsrun odbc.js
freeswitch at hp30094686650.optimus.co.in> API CALL [jsrun(odbc.js)] output:

2008-10-21 12:44:34 [ERR] switch_odbc.c:160 switch_odbc_handle_connect()
STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not
found, and no default driver specified

2008-10-21 12:44:34 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec() Database
is not connected!

Can any one specify which lib-odbc support for mysql i have this driver
Driver = /usr/local/lib/libmyodbc.so
but when i run the js script i get this above error

Some one help to resolve the problem .i have rebuilt the process also but
still i face the error.  Can some one point out where i am wrong .

Warm Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081021/6349e5ca/attachment-0002.html 

More information about the FreeSWITCH-users mailing list