Hi there,

On Mon, 16 Nov 2020, Alex via clamav-users wrote:

...
(MySQLdb._exceptions.OperationalError) (2006, 'MySQL server has gone away')
...

I don't use safebrowsing and it's a long time since I've used MySQL
for anything serious, but last time I did this issue was one of the
most common causes of questions.  I don't know, however, if in your
case the most common reason for the error is the explanation.

Most database systems will have some set of timeouts which you will
need to be able to cope with somehow if your clients open long-lived
connections.  Seems like your client might be idling for longer than
one of MySQL's timeouts.

https://dev.mysql.com/doc/refman/8.0/en/gone-away.html

I'd have thought the scripts that you're using ought to cope but it's
something to look into.  If this is the issue the fix is very easy.

HTH

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to