Page 1 of 1

2006 MySQL server has gone away

Posted: Tue Jan 12, 2021 9:31 pm
by T4B
hello I'm trying to install PrestaShop got this error

Code: Select all

General error: 2006 MySQL server has gone away
:cry: :cry:

Re: 2006 MySQL server has gone away

Posted: Tue Jan 12, 2021 10:23 pm
by myVesta
in file

Code: Select all

/etc/mysql/mariadb.cnf
find

Code: Select all

wait_timeout=
interactive_timeout=
set

Code: Select all

wait_timeout=1800
interactive_timeout=1800
in SSH, as root, type:

Code: Select all

systemctl restart mysql

Re: 2006 MySQL server has gone away

Posted: Tue Jan 12, 2021 10:43 pm
by T4B
can I put back default values:

Code: Select all

wait_timeout=10
interactive_timeout=50
after prestashop installation?

Re: 2006 MySQL server has gone away

Posted: Tue Jan 12, 2021 10:56 pm
by myVesta
I think yes.