[OpenSIPS-Users] ERROR:db_mysql:db_mysql_do_prepared_query: mysql_stmt_execute() failed: (1) Unknown prepared statement handler (1) given to mysql_stmt_execute

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Feb 27 22:13:41 CET 2009


Hi John,

Thanks for the info - it was a valuable one. I was fighting with some 
strange behaviour between different versions of libmysqlclient in 
reporting the error codes.

Anyhow, a new (finally I hope) fix is available on SVN. Please update 
and let me know if it works for you or not.

Regards,
Bogdan

john li wrote:
> Hi  Bogdan,
>  
> My libmysqlclient is:
> ii  libmysqlclient15-dev              
> 5.0.51a-23                           MySQL database development files
> ii  libmysqlclient15off               
> 5.0.51a-24                           MySQL database client library
>  
>
> thanks for you work!
> 2009/2/24 Bogdan-Andrei Iancu <bogdan at voice-system.ro 
> <mailto:bogdan at voice-system.ro>>
>
>     Hi John,
>
>     yes, the problem is know and I'm working on it...the funny thing
>     is that I have some problems with the mysql lib in reporting the
>     error as code and not as string...to detect the error.
>
>     BTW, what version of libmysqlclient are you using?
>
>     Regards,
>     Bogdan
>
>     john li wrote:
>
>         i restarted the opensips at 9:00, and i got the error at 23:00.
>         ERROR:db_mysql:db_mysql_do_prepared_query:
>         mysql_stmt_execute() failed: (1) Unknown prepared statement
>         handler (1) given to mysql_stmt_execute
>          my situation is that i connnect to the opensips a few times a
>         day, about five times.
>         i am always got the error when the opensips run a long times.
>          ------
>         Regards
>         John
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>          
>
>
>
>
>
> -- 
> Regards
> John




More information about the Users mailing list