[ejabberd] ODBC MySQL connection timeout

Mickaël Rémond mickael.remond at process-one.net
Sat Mar 3 12:06:47 MSK 2007


Hello,

Le 3 mars 07 à 08:56, Safford, Brian a écrit :
> I had posted a question earlier about MySQL connection timeouts,  
> and had received a suggestion to up the WAIT_TIMEOUT limit on my  
> MySQL server, which I did.
>
> I am now seeing these errors in my ejabberd.log file:
>
> =ERROR REPORT==== 2007-03-03 01:55:31 ===
> E(<0.290.0>:gen_iq_handler:101) : {{case_clause,
>                                     {error,
>                                      "[MySQL][ODBC 3.51 Driver] 
> [mysqld-5.0.27-standard]MySQL server has gone away SQLSTATE IS:  
> 00000"}},
>
>                                    [{mod_vcard_odbc,process_sm_iq,3},
>                                     {gen_iq_handler,process_iq,6},
>                                     {gen_iq_handler,handle_info,2},
>                                     {gen_server,handle_msg,6},
>                                     {proc_lib,init_p,5}]}

It is related to how odbc works. The MySQL ODBC driver has the  
following problem: It does not use the correct odbc error code to  
tell it has been disconnected.

-- 
Mickaël Rémond
  http://www.process-one.net/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20070303/70bf441c/attachment.htm 


More information about the ejabberd mailing list