Hi,

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

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

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,
N.Baskar