Warning: Error while sending QUERY packet. PID=20185 in /home/allmosco/public_html/core/MySQL.php on line 46

MySQL Error!

Date: [20:57:22] 21.10.2018 +0300

MySQL:
Query:                 select * from ds_firma where parent=''
mysql_error():         MySQL server has gone away
mysql_errno():         2006
mysql_server_info():   5.6.41-log

Script:
SCRIPT_FILELINE:       /home/allmosco/public_html/modules/engine.php:34
SCRIPT_FILENAME:       /home/allmosco/public_html/index.php

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

Server:
SERVER_SOFTWARE:       Apache
SERVER_PORT:           80
SERVER_NAME:           www.allmoscowshop.ru

User:
HTTP_USER_AGENT:       CCBot/2.0 (https://commoncrawl.org/faq/)
REMOTE_ADDR:           54.166.130.157
REMOTE_PORT:           59196