Instead of trying to use the re-connect built into the mysql_ping() command, would it be possible to do the mysql_real_connect again instead?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/406#issuecomment-182353836