SOLVED [CPANEL-21494] UPCP Failure on a server with Mysql Disabled

paul messenich

Registered
Oct 3, 2018
1
0
1
Littleton, CO
cPanel Access Level
Root Administrator
# /usr/local/cpanel/cpanel -V
74.0 (build 9)

Seeing the following error with every update with mysql disabled:

=> Log closed Wed Oct 3 10:02:17 2018
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (3935) at Wed Oct 3 10:02:17 2018
[2018-10-03 10:02:17 -0400] E Post Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/mysqlconnectioncheck". Please check the logs for an indication of what happened
[2018-10-03 10:02:17 -0400] Polling updatenow to see if a newer version is available for upgrade
=> Log closed Wed Oct 3 10:02:17 2018
=> Log closed Wed Oct 3 10:02:17 2018

...
[2018-10-03 10:02:09 -0400] E [/usr/local/cpanel/scripts/mysqlconnectioncheck] The “/usr/local/cpanel/scripts/mysqlconnectioncheck” command (process 4639) reported error number 1 when it ended.

mysql is not necessary in our configuration and consumes too much memory if running solely to silence these daily update errors.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello Paul,

Internal case CPANEL-21494 addresses the issue where cPanel updates fail when MySQL is disabled. The solution is published to cPanel & WHM version 76 (currently available on the EDGE release tier):

Fixed case CPANEL-21494: Don't perform MySQL connection check when MySQL is disabled.

You can monitor the following page to see when version 76 reaches each release tier:

The Hosting Platform of Choice | cPanel Release Highlights | cPanel, Inc.

Thank you.
 
Last edited: