Hi to all,

I have following this wiki page to configure mysql and freeswitch.

http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc

When I run the command " isql -v maxpowersoft_odbc ", I can able to connect to the MySql database.

When , I run the following java script file,

test.js

use("ODBC");
var db = new ODBC("maxpowersoft_odbc", "dbuser", "dbpass");
db.connect();

I am getting error like ,


2010-08-31 21:24:06.583606 [ERR] switch_odbc.c:318 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified


Any one help me to relove my issue plz. thanks in advance.


Regards,
Venkat.