Jump to content

[Inactive] Having a problem installing Xenforo using Heliohost's MySQL database


Recommended Posts

Posted

I install Xenforo on my VPS machine (on another host) and it returns this error

 

XF\Db\Exception: MySQL statement prepare error [2006]: MySQL server has gone away in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 244
  6. XF\Db\AbstractAdapter->update() in src/XF/Job/Manager.php at line 255
  7. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187
  8. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 138
  9. XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24
  10. XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Install.php at line 196
  11. XF\Install\Controller\Install->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  15. XF\App->run() in src/XF.php at line 328
  16. XF::runApp() in install/index.php at line 14

I search up on Google and founds that it may be the max_allowed_packet on MySQL. Is there a way to fix that?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...