• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

ERROR 2006 (HY000) at line 347: MySQL server has gone away

webviri

New Pleskian
Hello,

Im trying to replace a huge database via SSL and im getting the following error "ERROR 2006 (HY000) at line 347: MySQL server has gone away".

i have modified my.cnf file under etc/my.cnf is it the correct location or wrong?

i have also increased my wait_timeout and also increased my max_allowed_packet

is there any changes have to be made..?



Thanks!
 
Hello IgorG,

Thanks for your reply,


the content of my.cnf is:

[mysqld]
wait_timeout = 9000000
max_allowed_packet = 10240M
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
wait_timeout = 9000000
max_allowed_packet = 10240M

[mysql]
wait_timeout = 9000000
max_allowed packet = 10240M


is it okey? kindly confirm please
 
Back
Top