<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Courier New";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.E-MailFormatvorlage20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks for your help. It
works.</span></font><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:windowtext'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3  color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span  style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>Von:</span></font></b><font  size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;  color:windowtext'> freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span  style='font-weight:bold'>Im Auftrag von </span></b>Raymond Chandler<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Dienstag, 6. Januar 2009
18:13<br>
<b><span style='font-weight:bold'>An:</span></b>
freeswitch-users@lists.freeswitch.org<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [Freeswitch-users]
Problems with ODBC</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'>is mysql running on the localhost? if so, is that the
correct path to the .sock?<br>
<br>
you might also try using 127.0.0.1 as the host instead of localhost to force a
network connection.<br>
<br>
-Ray<br>
<br>
<br>
fidibus83 wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><!--[if gte mso 9]><xml>
 <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u4:ext="edit">
  <u3:idmap u4:ext="edit" data="1"/>
 </u3:shapelayout>
</xml><![endif]-->The libmyodbc package is installed.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>But I see I have a lot of
version of libmyodbc:<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>libmyodbc3.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>libmyodbc3_r.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>libmyodbc3_r-3.51.14.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>libmyodbc3-3.51.14.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>I changed odbcinst.ini:<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>[MySQL]<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>Description = ODBC for
MySQL<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>Driver =
/usr/lib/libmyodbc3.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>Setup =
/usr/lib/libodbcmyS.so<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>I run isgl &#8211;vvv and
I get this:<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>[08S01] [unixODBC]
[MySQL] [ODBC 3.51 Driver] Can&#8217;t connect to local MySQL server through
socket &#8216;/var/run/mysqld/mysqld.sock&#8217; (2)<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'>[ISQL] ERROR: Could not
SQLConnect<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3  color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span  style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>Von:</span></font></b><font  size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;  color:windowtext'> <a  href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b><span style='font-weight:bold'>Im Auftrag von </span></b>Raymond Chandler<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Dienstag, 6. Januar 2009
16:13<br>
<b><span style='font-weight:bold'>An:</span></b> <a  href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [Freeswitch-users]
Problems with ODBC</span></font><o:p></o:p></p>

</div>

<u5:p></u5:p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'>fidibus83 wrote: <u5:p></u5:p><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:  10.0pt;font-family:Arial'>Hello,<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:  10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'>I need your help again!<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'>I want to use ODBC in javascripts.<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'>First I installed unixodbc and I did
all the steps what are mentioned in wiki: mod spidermonkey odbc.<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'>But when I test my ODBC Setup by
running isql I get this error:<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB  style='font-size:10.0pt;font-family:Arial'>[ISQL]ERROR: Could not SQLConnect</span></font><u5:p></u5:p><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'>This isn't really a general purpose ODBC list, but
using the -v option of isql tends to yield more verbose output (imagine that!)<br>
<br>
so you get:<br>
isql -vvv freeswitch freeswitch freeswitch<br>
[IM002][unixODBC][Driver Manager]Data source name not found, and no default
driver specified<br>
[ISQL]ERROR: Could not SQLConnect<br>
<br>
<br>
as opposed to:<br>
isql freeswitch freeswitch freeswitch<br>
[ISQL]ERROR: Could not SQLConnect<br>
<br>
-Ray<u5:p></u5:p><o:p></o:p></span></font></p>

<pre wrap=""><font size=2 color=black face="Courier New"><span  style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre  style='text-align:center'><font size=2 color=black face="Courier New"><span  style='font-size:10.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=2 color=black face="Courier New"><span  style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Freeswitch-users mailing list<o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a  href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'>UNSUBSCRIBE:<a  href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a  href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></span></font></pre><pre><font  size=2 color=black face="Courier New"><span style='font-size:10.0pt'>  <o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span  style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>