Re: [SR-Users] mysql: driver_error

2013-02-11 Thread Daniel-Constantin Mierla
Hello, looking in the source, the counter is increased for error codes CR_SERVER_GONE_ERROR and CR_SERVER_LOST. The message printed in the log is for CR_CONNECTION_ERROR, according to http://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html Perhaps the cases to increment have to be

Re: [SR-Users] mysql: driver_error

2013-02-10 Thread Uri Shacked
Hi, The Mysql server is not on the same machine. On the kamailio log i get the error - "[ km_dbase.c:122]: driver error on query: Can't connect to MySQL server on.." But the statistics couter does not increase. Thanks, Uri >Hello, > >did you get any error log message in syslog from mysql m

Re: [SR-Users] mysql: driver_error

2013-02-08 Thread Daniel-Constantin Mierla
Hello, did you get any error log message in syslog from mysql module? A quick check in the code shows that the counter is incremented on connection errors or fetching results. Cheers, Daniel On 2/5/13 11:29 AM, Uri Shacked wrote: Hi, I am doing some testing and i have trouble understandin

[SR-Users] mysql: driver_error

2013-02-05 Thread Uri Shacked
Hi, I am doing some testing and i have trouble understanding when does the "mysql:driver_error" counter/statistics increase I stopped the mysqld process on the DB server and used sqlops. the driver_error did still is on 0. I use version 3.3.2. Thanks, Uri __