• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

MySQL query failed: MySQL server has gone away

A

AdrianB

Guest
When I log-in to Plesk Control Panel and try to access the server section I get the following error:

ERROR: PleskMainDBException
MySQL query failed: Lost connection to MySQL server during query

Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: MySQL server has gone away

0: /opt/psa/admin/plib/common_func.php3:250
db_query(string 'SELECT `id`, `ord`, `uri`, `parent_id`, `enabled`, `type`, `title`, `description` FROM `DashboardPresetConfig` WHERE `preset_id`="1" ORDER BY `ord` DESC')
1: /opt/psa/admin/plib/dashboard/DashboardPreset.php:160
DashboardPreset->fetchConfig()
2: /opt/psa/admin/plib/dashboard/DashboardPreset.php:296
DashboardPreset->getConfig()
3: /opt/psa/admin/plib/dashboard/DashboardPreset.php:103
DashboardPreset->getElementByURI(string '/plesk/dashboard/#shortcuts')
4: /opt/psa/admin/plib/dashboard/Dashboard.php:152
Dashboard::getShortcutParent(object of type DashboardPreset, object of type plesk__server)
5: /opt/psa/admin/plib/class.Form.php:244
Form->assign()
6: /opt/psa/admin/plib/class.ServerForm.php:172
ServerForm->assign(object of type ComponentsChecker)
7: /opt/psa/admin/htdocs/server/server.php3:115

This first happened after the first server restart in 145 days, then, overnight it seemed to have resolved by itself. But today the error appeared again. If I do a mysqlcheck on the psa database I get: mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) when selecting the database

I've checked, the socket exists. The other databases work with no problem.
 
Back
Top