[[+content_image]]
N
N
nataiiia902018-09-19 13:18:51
MySQL
nataiiia90, 2018-09-19 13:18:51

How to fix [[2006] MySQL server has gone away] error?

Hello!
Worked for me and worked for you =(
b_calendar_event_sect 50784 2 637 824
MySQL Query Error: CHECK TABLE `b_calendar_event_sect`[[2006] MySQL server has gone away]
DB query error.
Please try later.
SQL Query Error
[QUOTE]File: /home /bitrix/www/bitrix/modules/main/include/dbquery_error.php
Query: CHECK TABLE `b_calendar_event_sect`
[[2006] MySQL server has gone away]
debug_backtrace:
Array
(
[0] => Array
(
[file] => / home/bitrix/www/bitrix/modules/main/classes/mysql/database.php
[line] => 194
[class] =>
[function] => include
[args] => Array
(
[0] => /home/bitrix/www/bitrix/modules/main/include/dbquery_error.php
)
)
[1] => Array
(
[file] => /home/bitrix/www /bitrix/modules/main/admin/repair_db.php
[line] => 253
[class] => CDatabaseMysql
[function] => Query
[args] =>
)
[2] => Array
(
[file] => /home /bitrix/www/bitrix/admin/repair_db.php
[line] => 2
[class] =>
[function] => require_once
[args] => Array
(
[0] => /home/bitrix/www/bitrix/modules/main/admin/repair_db.php
)
)
)

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
R
Roman Mirilaczvili, 2018-09-19
@2ord

If there are no purely network problems at the infrastructure level, then
https://matomo.org/faq/troubleshooting/faq_183/

H
hOtRush, 2018-09-19
@hOtRush

Optimize queries or buy more serious hardware for the base

I
InOdinWeTrust, 2018-09-19
@InOdinWeTrust

MySQL server has gone away - means that the client has lost connection with the MySql server. There could be a million reasons. What you need to do if you cannot find a specific reason is to restore the connection and repeat the request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question