Ошибка (databaseException): MySQL server has gone away in query: INSERT INTO `cms_stat_hits` (`page_id`, `date`, `hour`, `day_of_week`, `week`, `day`, `month`, `year`, `path_id`, `number_in_path`) VALUES (51285, '2022-07-07 06:52:45', HOUR('2022-07-07 06:52:45'), DATE_FORMAT('2022-07-07 06:52:45', '%w'), WEEK('2022-07-07 06:52:45'), DAY('2022-07-07 06:52:45'), MONTH('2022-07-07 06:52:45'), YEAR('2022-07-07 06:52:45'), 335331, 1)

Показать отладочную информацию