• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Unable to connect to database: mysql_connect

cmseeley

New Pleskian
Out of nowhere, plesk will not load properly.
This system is Panel 11.0.9 on CentOS 5.8 (Final), PHP is 5.3.3, and mysql is Ver 14.12 Distrib 5.0.95
Any Ideas?

Thanks.
Chris

See below;

In the main frame:

ERROR: PleskFatalException
Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: No such file or directory

0: common_func.php3:153
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: No such file or directory')
1: auth.php3:112

and in the left side frame;

ERROR: Exception
[MySQL][ODBC 3.51 Driver][mysqld-5.0.95]Lost connection to MySQL server during query

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

0: aps_php.php:7642
aps_registry_applicationbrowser_browse(resource)
1: aps_php.php:7642
APS_Registry_ApplicationBrowser->browse()
2: Registry.php:51
Apspp_Registry::getPackageApplicationsIds(object of type APS_Registry_Package)
3: Config.php:22
HelpDesk_Config::getHelpDeskInstances()
4: NavigationContext.php:342
NavigationContext->_fetchHelpDeskSectionNodes(object of type UserAdmin)
5: NavigationContext.php:196
NavigationContext->fetchCustomButtonsSectionNodes(object of type UserAdmin)
6: NavigationContext.php:70
NavigationContext->fetchSection(object of type UserAdmin, string 'custom_buttons', array)
7: NavigationContext.php:402
NavigationContext->get(object of type UserAdmin)
8: Navigation.php:557
Navigation->getContextMenu(object of type UserAdmin, object of type Skin)
9: left.php3:4
 
Have you checked at least that MySQL server is running?
 
Have you checked at least that MySQL server is running?

Yes, MySQL is running. Sites on the server that use MySQL are functioning fine, it is only Plesk that is having trouble. It is as if plesk and the psa database itself is where the prom is.

When I stop plesk, etc [ /psa stopall ] psa sops without a hitch. Then [ /psa start ] everything starts without a problem... no errors, it seems that just plesk wont connect to MySQL.


Thank you in advance for any help.

Chris
 
Back
Top