<div dir="ltr"><code><br><br>I have solved the problem. we need to copy odbc.ini file into <b style="color: rgb(51, 204, 0);">/ect/</b> folder not </code><b style="color: rgb(255, 0, 0);"><code>/usr/local/etc/</code></b><br>
<code><br></code>Regards,<br>Venkat. <br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 9:27 PM, ovvenkat <span dir="ltr"><<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi to all, <br><br>I have following this wiki page to configure mysql and freeswitch. <br><br><a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc" target="_blank">http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc</a><br>
<br>When I run the command " <b>isql -v maxpowersoft_odbc</b> ", I can able to connect to the MySql database.<br><br>When , I run the following java script file, <br><br><b style="background-color: rgb(255, 255, 204);">test.js</b><br>
<br>use("ODBC");<br>var db = new ODBC("maxpowersoft_odbc", "dbuser", "dbpass");<br>db.connect();<br><br>I am getting error like , <br><br><br><span style="background-color: rgb(204, 255, 255); color: rgb(255, 0, 0);">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</span><br>
<br><br>Any one help me to relove my issue plz. thanks in advance. <br><br><br>Regards,<br>Venkat. <br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Regards<br>Venkatesan OV.</div><br>
</div>