<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 - "[ km_dbase.c:122]: driver error on query: Can't connect to MySQL server on......"</div>
<div>But the statistics couter does not increase.</div><div> </div><div>Thanks,</div><div>Uri</div><div> </div><div> </div><div>>Hello,<br>><br>>did you get any error log message in syslog from mysql module? A quick <br>
>check in the code shows that the counter is incremented on connection <br>>errors or fetching results.<br>><br>>Cheers,<br>>Daniel<br><br></div><div class="gmail_quote">On Tue, Feb 5, 2013 at 12:29 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></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:"Times New Roman","serif";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:"Times New Roman","serif";font-size:12pt">I am doing some testing and i have
trouble understanding when does the "mysql:driver_error"
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:"Times New Roman","serif";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:"Times New Roman","serif";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:"Times New Roman","serif";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:"Times New Roman","serif";font-size:12pt">Uri</span></p><font size="3" face="Times New Roman">
</font></div></div>
</blockquote></div><br></div>