<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Grande.<div><br></div><div>verifique eu seu arquivo /etc/my.cnf a variável: max_allowed_packet pois é bem provável que você precisará aumentar.</div><div><br></div><div>Coloque algo em torno de max_allowed_packet=32M ou um pouco maior que resolve.</div><div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: 12px; position: static; z-index: auto;"><b style="color: rgb(51, 51, 51);"><font color="#000066"><br class="Apple-interchange-newline">Atenciosamente,</font></b></div><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><img height="91" width="504" apple-inline="yes" id="0EF27982-5931-4214-ACCB-DADBE378C483" apple-width="yes" apple-height="yes" src="cid:857B4D4A-FE3D-478C-9EB8-E8A3FDA4B3DB"></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><b style="background-color: rgb(255, 255, 255); color: rgb(0, 102, 0); font-size: 12px;"><span style="font-size: 13px; font-family: arial, sans-serif;"><span style="font-size: 24pt; font-family: Webdings;"><br class="Apple-interchange-newline">P&nbsp;</span></span><span style="font-size: 13px; font-family: arial, sans-serif;"><span style="font-size: 8pt; font-family: Tahoma;">Antes de imprimir</span></span><span style="font-size: 8pt; font-family: Tahoma;">&nbsp;pense em sua responsabilidade e &nbsp;compromisso com o&nbsp;Meio Ambiente!</span></b></span><div style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Calibri, sans-serif; font-size: 14px;"><div style="background-color: rgb(255, 255, 255); font-family: Helvetica; font-size: 12px; color: rgb(51, 51, 51);"></div></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;"><br></div><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
</span></span></div>
<br><div><div>Em 03/09/2014, à(s) 14:50, Alexandre Trevizoli &lt;<a href="mailto:ale.trevizoli@gmail.com">ale.trevizoli@gmail.com</a>&gt; escreveu:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="PT-BR" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Rafael, estamos usando IPTABLES, e o ping está liberado.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Tentei pingar a maquina e tudo ok, mesmo de fora como de dentro, usando IP e localhost.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">É um servidor A2Billing esta maquina.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Fiz um php de teste<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&lt;?php<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">$conn = mysql_connect('localhost','root','xxxxxx');<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">mysql_select_db('a2billing',$conn);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">if (!mysql_ping ($conn)) {<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;&nbsp; echo "ping erro!";<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">} else<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">{<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp; echo "ping ok!";<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">}<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">mysql_close($conn);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">?&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">E executei e retornou OK.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Procurei a Linha do Erro no arquivo res_config_mysql.c<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">static</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(68, 85, 136);">int</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 0, 0);">mysql_reconnect</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(<b>struct</b></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_conn</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">*</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn)</span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p></o:p></span></div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="background-color: white; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;"><tbody><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 153);">#ifdef MYSQL_OPT_RECONNECT</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">my_bool</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">trueval</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 153);">#endif</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">/* mutex lock should have been locked before calling this function.<span class="Apple-converted-space">&nbsp;</span></span></i><i><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">*/</span></i><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">reconnect_tryagain:</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">((<b>!</b>conn<b>-&gt;</b>connected)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(<b>!</b>ast_strlen_zero(conn<b>-&gt;</b>host)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">||</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>sock)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">!</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_strlen_zero(conn<b>-&gt;</b>user)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">!</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_strlen_zero(conn<b>-&gt;</b>name))</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(<b>!</b>mysql_init(<b>&amp;</b>conn<b>-&gt;</b>handle))</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_log(LOG_WARNING,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Insufficient memory to allocate MySQL resource.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connected</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">return</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(conn<b>-&gt;</b>charset</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">strlen(conn<b>-&gt;</b>charset)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&gt;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">2</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">){</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(68, 85, 136);">char</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">set_names[</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">255</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">];</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(68, 85, 136);">char</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">statement[</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">512</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">];</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">snprintf(set_names,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">sizeof</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(set_names),</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"SET NAMES %s"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>charset);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_real_escape_string(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">statement,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">set_names,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">sizeof</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(set_names));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_options(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">MYSQL_INIT_COMMAND,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">set_names);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_options(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">MYSQL_SET_CHARSET_NAME,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>charset);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(mysql_real_connect(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>host,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>user,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>pass,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>name,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>port,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>sock,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">))</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 153);">#ifdef MYSQL_OPT_RECONNECT</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">/* The default is no longer to automatically reconnect on failure,</span></i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * (as of 5.0.3) so we have to set that option here.<span class="Apple-converted-space">&nbsp;</span></span></i><i><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">*/</span></i><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_options(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">MYSQL_OPT_RECONNECT,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">trueval);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 153);">#endif</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_debug(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Successfully connected to database.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connected</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connect_time</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">time(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 134, 179);">NULL</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">return</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">else</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_log(LOG_ERROR,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Failed to connect database server %s on %s (err %d). Check debug for more info.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>name,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">!</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_strlen_zero(conn<b>-&gt;</b>host)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">?</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>host</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">:</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>sock,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_errno(<b>&amp;</b>conn<b>-&gt;</b>handle));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_debug(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Cannot Connect (%d): %s\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_errno(<b>&amp;</b>conn<b>-&gt;</b>handle),</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_error(<b>&amp;</b>conn<b>-&gt;</b>handle));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connected</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connect_time</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">return</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">else</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">/* MySQL likes to return an error, even if it reconnects successfully.</span></i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><i><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * So the postman pings twice.<span class="Apple-converted-space">&nbsp;</span></span></i><i><span style="font-size: 9pt; font-family: Consolas; color: rgb(153, 153, 136);">*/</span></i><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">(mysql_ping(<b>&amp;</b>conn<b>-&gt;</b>handle)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">!=</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">0</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">(usleep(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">1</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">+</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">2</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&gt;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">0</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&amp;&amp;</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">mysql_ping(<b>&amp;</b>conn<b>-&gt;</b>handle)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">!=</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">)</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">conn<b>-&gt;</b>connected</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">conn<b>-&gt;</b>connect_time</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">ast_log(LOG_ERROR,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">"MySQL RealTime: Ping failed (%d).&nbsp; Trying an explicit reconnect.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">mysql_errno(<b>&amp;</b>conn<b>-&gt;</b>handle));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">ast_debug(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">1</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">"MySQL RealTime: Server Error (%d): %s\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">mysql_errno(<b>&amp;</b>conn<b>-&gt;</b>handle),</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">mysql_error(<b>&amp;</b>conn<b>-&gt;</b>handle));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">goto</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;">reconnect_tryagain;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51); background-color: yellow; background-position: initial initial; background-repeat: initial initial;"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(<b>!</b>conn<b>-&gt;</b>connected)</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connected</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>connect_time</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">=</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">time(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 134, 179);">NULL</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">if</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">(mysql_select_db(<b>&amp;</b>conn<b>-&gt;</b>handle,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>name)</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">!=</span></b><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">)</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">{</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_log(LOG_WARNING,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Unable to select database: %s. Still Connected (%u) - %s.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">conn<b>-&gt;</b>name,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_errno(<b>&amp;</b>conn<b>-&gt;</b>handle),</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">mysql_error(<b>&amp;</b>conn<b>-&gt;</b>handle));</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">return</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">0</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">ast_debug(</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">,</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(221, 17, 68);">"MySQL RealTime: Connection okay.\n"</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">);</span><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">return</span></b><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(0, 153, 153);">1</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">;</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr><tr><td valign="top" style="padding: 0cm 7.5pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; line-height: 13.65pt;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);">}</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(51, 51, 51);"><o:p></o:p></span></div></td></tr></tbody></table><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Será que atualizando a versão pode resolver?<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">A versão é 1.8.25....porém não sei como atualizar para a versão mais nova dentro da 1.8...se puderem me ajudar eu agradeço!<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;">De:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil-bounces@listas.asteriskbrasil.org</a><span class="Apple-converted-space">&nbsp;</span>[<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org</a>]<span class="Apple-converted-space">&nbsp;</span><b>Em nome de<span class="Apple-converted-space">&nbsp;</span></b>Rafael Ribeiro<br><b>Enviada em:</b><span class="Apple-converted-space">&nbsp;</span>terça-feira, 2 de setembro de 2014 22:22<br><b>Para:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b><span class="Apple-converted-space">&nbsp;</span>[AsteriskBrasil] RES: RES: Problema no MYSQL REALTIME asterisk 1.8.25<o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Você usa o CSF Firewall ou iptables nativo?<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Veja se teu firewall permite ping ;)<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Outra coisa, você citou que tentou como localhost e com o IP, teoricamente, teu IP localhost seria 127.0.0.1 e não o IP da própria máquina em si .. colocando o IP da máquina, volta a mesma teoria do firewall.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><i><span style="font-size: 14pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Atenciosamente,<o:p></o:p></span></i></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 16pt; font-family: 'Bradley Hand ITC'; color: rgb(31, 73, 125);">Rafael Ribeiro</span></b><b><span style="font-size: 16pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></b><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">– CEO XPS NetWorks Group<o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="mailto:rafael.ribeiro@xpsnetworks.net" style="color: purple; text-decoration: underline;"><span lang="EN-US">rafael.ribeiro@xpsnetworks.net</span></a></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Skype:</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span class="Apple-converted-space">&nbsp;</span><i>xpsnetworks<o:p></o:p></i></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Celular:</span></b><i><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span class="Apple-converted-space">&nbsp;</span>11 98909-1838 / 51 9201-6908</span></i><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">11 3522-5293<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">21 3527-0235<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">51 4063-9078<o:p></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0cm 0cm;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif;">De:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil-bounces@listas.asteriskbrasil.org</a><span class="Apple-converted-space">&nbsp;</span>[<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org</a>]<span class="Apple-converted-space">&nbsp;</span><b>Em nome de<span class="Apple-converted-space">&nbsp;</span></b>Alexandre Trevizoli<br><b>Enviada em:</b><span class="Apple-converted-space">&nbsp;</span>terça-feira, 2 de setembro de 2014 21:17<br><b>Para:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b><span class="Apple-converted-space">&nbsp;</span>[AsteriskBrasil] RES: Problema no MYSQL REALTIME asterisk 1.8.25<o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Robinson tentei das duas formas com localhost e ip, os dois apresentam o mesmo problema....<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">[general]<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">;dbhost = 192.168.0.10<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbhost = localhost<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbname = billing<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbuser = root<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbpass = XXXXXX<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbport = 3306<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">dbsock = /var/lib/mysql/mysql.sock<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;">De:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil-bounces@listas.asteriskbrasil.org</a><span class="Apple-converted-space">&nbsp;</span>[<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org</a>]<span class="Apple-converted-space">&nbsp;</span><b>Em nome de<span class="Apple-converted-space">&nbsp;</span></b>Robinson Luis Sezanowitch<br><b>Enviada em:</b><span class="Apple-converted-space">&nbsp;</span>terça-feira, 2 de setembro de 2014 21:10<br><b>Para:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b><span class="Apple-converted-space">&nbsp;</span>Re: [AsteriskBrasil] Problema no MYSQL REALTIME asterisk 1.8.25<o:p></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Olá,<o:p></o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">no res_mysql_conf vc, vc colocou o end. ip no dbhost ou localhost?<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Se colocou ip, este ip responde?<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br clear="all"><o:p></o:p></div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Robinson Luis Sezanowitch<br>Florianopolis/SC.<br>ITILV2 Foundation Certified Professional.<br>Curriculo:<span class="Apple-converted-space">&nbsp;</span><a href="http://lattes.cnpq.br/2185821746641692" target="_blank" style="color: purple; text-decoration: underline;">http://lattes.cnpq.br/2185821746641692</a><o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Email alternativo:&nbsp;<span class="Apple-converted-space">&nbsp;</span><br><a href="mailto:rsezanowitch@hotmail.com" target="_blank" style="color: purple; text-decoration: underline;"><b>rsezanowitch@hotmail.com</b></a>Skype: robinson.luis1<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><i>"</i><b><i><span style="font-family: Arial, sans-serif;">Nosce te ipsum,</span></i></b><i>&nbsp;<b>Semper Paratus</b>"</i><o:p></o:p></div></div></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></p><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Em 2 de setembro de 2014 19:25, Alexandre Trevizoli &lt;<a href="mailto:ale.trevizoli@gmail.com" target="_blank" style="color: purple; text-decoration: underline;">ale.trevizoli@gmail.com</a>&gt; escreveu:<o:p></o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Pessoal recorro a ajuda da lista. Estou com este problema e já revirei a internet e não encontro solução e nem informação sobre este problema.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">No meu asterisk que está com realtime ativado fico recebendo esta mensagem no console direto a cada cerca de 2 a 3 minutos....<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:00:21] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:05:22] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:07:55] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:09:38] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:12:29] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:15:15] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:17:51] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp; Trying an explicit reconnect.</span><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:20:26] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Trying an explicit reconnect.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span lang="EN-US">[2014-09-02 18:22:26] ERROR[6344]: res_config_mysql.c:1595 mysql_reconnect: MySQL RealTime: Ping failed (2006).&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Trying an explicit reconnect.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Apesar das mensagens tudo funciona normalmente, este servidor está com o A2BILLING instalado e ativado o realtime.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Porém deve ter uma explicação para este problema.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">O que poderia ser?<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">&nbsp;<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Obrigado!<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="color: rgb(136, 136, 136);">&nbsp;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="color: rgb(136, 136, 136);">Alexandre Trevizoli<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="color: rgb(136, 136, 136);">&nbsp;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="color: rgb(136, 136, 136);">&nbsp;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="color: rgb(136, 136, 136);">&nbsp;<o:p></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br>_______________________________________________<br>WORKOFFEES KHOMP: Eventos KHOMP na sua cidade. BRASÍLIA, dia 28 de agosto e RIO DE JANEIRO, dia 04 de setembro. Inscrições GRATUITAS e sorteio de BRINDES.<br>Garanta a sua vaga e saiba mais em:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.workoffee.com.br/" target="_blank" style="color: purple; text-decoration: underline;">www.workoffee.com.br</a><br>_______________________________________________<br>ALIGERA – Fabricante e desenvolvedor nacional de Soluções para telefonia IP .<br>Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>Banco de Canais Analógicos&nbsp; – Appliance Asterisk Acesse<span class="Apple-converted-space">&nbsp;</span><a href="http://www.aligera.com.br/" target="_blank" style="color: purple; text-decoration: underline;">www.aligera.com.br</a><br>_______________________________________________<br>DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.<br>Construa soluções de PABX IP com produtos DigiVoice - visite&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="http://www.digivoice.com.br/" target="_blank" style="color: purple; text-decoration: underline;">www.digivoice.com.br</a><br>_______________________________________________<br>Para remover seu email desta lista, basta enviar um email em branco para<span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><o:p></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div></div></div>_______________________________________________<br>WORKOFFEES KHOMP: Eventos KHOMP na sua cidade. BRASÍLIA, dia 28 de agosto e RIO DE JANEIRO, dia 04 de setembro. Inscrições GRATUITAS e sorteio de BRINDES.<br>Garanta a sua vaga e saiba mais em:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.workoffee.com.br/" style="color: purple; text-decoration: underline;">www.workoffee.com.br</a><br>_______________________________________________<br>ALIGERA – Fabricante e desenvolvedor nacional de Soluções para telefonia IP .<br>Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>Banco de Canais Analógicos &nbsp;– Appliance Asterisk Acesse<span class="Apple-converted-space">&nbsp;</span><a href="http://www.aligera.com.br/" style="color: purple; text-decoration: underline;">www.aligera.com.br</a><br>_______________________________________________<br>DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.<br>Construa soluções de PABX IP com produtos DigiVoice - visite&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="http://www.digivoice.com.br/" style="color: purple; text-decoration: underline;">www.digivoice.com.br</a><br>_______________________________________________<br>Para remover seu email desta lista, basta enviar um email em branco para<span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" style="color: purple; text-decoration: underline;">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></div></blockquote></div><br></div></body></html>