Removing horde user entries when mariadb was in "upgrade mode"

[email protected]

Well-Known Member
Aug 3, 2016
67
5
58
Everywhere
cPanel Access Level
Root Administrator
After yesterday updates from version 11.98.0.10 to version 11.98.0.11 I have an error message says:

Code:
Removing horde user entries with blank password ... Cpanel::Exception::Database::Error/(XID nyqhva) The system received an error from the “MySQL” database “mysql”: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))
at /usr/local/cpanel/Cpanel/DBI.pm line 200.
Removing all privileges for test db ... Cpanel::Exception::Database::Error/(XID 2526pt) The system received an error from the “MySQL” database “mysql”: 2006 (MySQL server has gone away)
Also the same time I had a mariadb upgrade from:
Code:
Package MariaDB-server.x86_64 0:10.3.31-1.el7.centos will be updated
Package MariaDB-server.x86_64 0:10.3.32-1.el7.centos will be an update
Probably the Mysql database was "down" that time and couldn't connect?
Also the script for horde security (Removing horde user entries with blank password, Removing all privileges for test db) not seems to complete. How can I run these so make sure that Horde configuration are secure with no blank passwords and test db privileges?

Thanks in advance!
 
Last edited:

andrew.n

Well-Known Member
Jun 9, 2020
782
283
63
EU
cPanel Access Level
Root Administrator
It seems there are several issues on your server. Are you able to restart/start MySQL from WHM or via command line? If not can you check /var/log/mysql.log oor /var/lib/mysql/hostname.err file to see why it doesn't start?
 
  • Like
Reactions: cPanelAnthony