<div dir="ltr"><div>Hi,</div><div> </div><div>The Mysql server is not on the same machine.</div><div>On the kamailio log i get the error -  &quot;[ km_dbase.c:122]: driver error on query: Can&#39;t connect to MySQL server on......&quot;</div>
<div>But the statistics couter does not increase.</div><div> </div><div>Thanks,</div><div>Uri</div><div> </div><div> </div><div>&gt;Hello,<br>&gt;<br>&gt;did you get any error log message in syslog from mysql module? A quick <br>
&gt;check in the code shows that the counter is incremented on connection <br>&gt;errors or fetching results.<br>&gt;<br>&gt;Cheers,<br>&gt;Daniel<br><br></div><div class="gmail_quote">On Tue, Feb 5, 2013 at 12:29 PM, Uri Shacked <span dir="ltr">&lt;<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div dir="ltr"><div><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Hi,</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">I am doing some testing and i have
trouble understanding when does the &quot;mysql:driver_error&quot;
counter/statistics increase....</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">I stopped the mysqld process on the
DB server and used sqlops. the driver_error did still is on 0.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">I use version 3.3.2. </span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Thanks,</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 6pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Uri</span></p><font size="3" face="Times New Roman">

</font></div></div>
</blockquote></div><br></div>