• 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.

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