Because so much was broken in a vanilla install of Magento by my ISP (e.g. I could not create categories, I was told to do this:
/usr/bin/php-7.1 bin/magento setup:upgrade
This ran for about 15 minutes with a lot of output, then ended with this:
Import failed: Warning: PDOStatement::execute(): MySQL server has gone
away in
/var/sites/j/xxxxx.store/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php
on line 228
Is this normal?
linux, php 7.1, Magento version unknown as the site and control panel are now dead.
Best Answer
I have had the same issue and this was the solution to my problem: