2006 MySQL server has gone away

Post Reply
User avatar
T4B
Posts: 74
Joined: Sat Jul 11, 2020 9:44 am
2006 MySQL server has gone away

Post 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:

User avatar
dpeca
Site Admin
Posts: 387
Joined: Fri Jun 19, 2020 9:59 am
Re: 2006 MySQL server has gone away

Post by dpeca »

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

User avatar
T4B
Posts: 74
Joined: Sat Jul 11, 2020 9:44 am
Re: 2006 MySQL server has gone away

Post by T4B »

can I put back default values:

Code: Select all

wait_timeout=10
interactive_timeout=50
after prestashop installation?

User avatar
dpeca
Site Admin
Posts: 387
Joined: Fri Jun 19, 2020 9:59 am
Re: 2006 MySQL server has gone away

Post by dpeca »

I think yes.


Post Reply