MySQL Error!

Date: [2:18:13] 29.03.2020 +0300

MySQL:
Query:                 select * from ds_firma where status=1 and vip like '%:238;%' and cat like '%"238"%' order by rand()
mysql_error():         MySQL server has gone away
mysql_errno():         2006
mysql_server_info():   5.7.27-0ubuntu0.18.04.1

Script:
SCRIPT_FILELINE:       /var/www/allmoscowshop/data/www/allmoscowshop.ru/modules/katalog.inc.php:112
SCRIPT_FILENAME:       /var/www/allmoscowshop/data/www/allmoscowshop.ru/index.php

Request:
REQUEST_URI:           /pansionaty_bazy_otdyha/
QUERY_STRING:          module=pansionaty_bazy_otdyha
HTTP_REFERER:          
HTTP_HOST:             www.allmoscowshop.ru
REQUEST_METHOD:        GET

Server:
SERVER_SOFTWARE:       Apache/2.4.29 (Ubuntu)
SERVER_PORT:           80
SERVER_NAME:           www.allmoscowshop.ru

User:
HTTP_USER_AGENT:       CCBot/2.0 (https://commoncrawl.org/faq/)
REMOTE_ADDR:           3.235.75.196
REMOTE_PORT:           39260