From the logs after your most recent patch:
```
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: WARNING: db_mysql [km_dbase.c:87]:
db_mysql_submit_query(): driver error on ping: Lost connection to MySQL server during
query
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: WARNING: db_mysql [km_dbase.c:87]:
db_mysql_submit_query(): driver error on ping: Can't connect to MySQL server on
'xxxx' (4)
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: WARNING: db_mysql [km_dbase.c:87]:
db_mysql_submit_query(): driver error on ping: SSL connection error: socket layer receive
error
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: ERROR: db_mysql [km_dbase.c:131]:
db_mysql_submit_query(): driver error on query: SSL connection error: socket layer receive
error (2026)
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: ERROR: <core> [db_query.c:181]:
db_do_raw_query(): error while submitting query
Dec 8 17:06:19 /usr/sbin/kamailio[31957]: WARNING: db_mysql [km_dbase.c:92]:
db_mysql_submit_query(): mysql thread id changed due to reconnect on mysql_ping
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/406#issuecomment-163006829