errno: 168 "Unknown (generic) error from engine"

Operating System & Version
centos 7.9
cPanel & WHM Version
110.0.9

mosenth

BANNED
Jun 15, 2022
14
0
1
England
cPanel Access Level
Root Administrator
i found mysqld.log,
there is a lot of account in this server(+200) and this erros in the latest lines right after the error:
[Warning] InnoDB: Recalculation of persistent statistics requested for table `database_name`.`table_name` but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
and i see this a lot:
[ERROR] InnoDB: Column last_update in table mysql.innodb_table_stats is BINARY(4) NOT NULL but should be INT UNSIGNED NOT NULL
this log totally consists of these two errors.
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
959
76
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
You may have to drop and recreate that table:


Errors in the innodb engine could be the cause of the generic engine error you are getting. The warnings can be fixed too by creating the innodb schema.

 
  • Like
Reactions: mosenth

mosenth

BANNED
Jun 15, 2022
14
0
1
England
cPanel Access Level
Root Administrator
thanks but nothing helpful!
someone told me it is due to incompatibility between my mariadb 10.6 and centos 7.9
cause cpanel cant update anymore and there is no inconsistency between these two,
is it correct?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Is there a reason you can't create a ticket? If you have a license purchased through us, you'd be eligible for free support.

If not, you would want to contact a professional MySQL admin to ensure you avoid data loss, as messing with InnoDB can get messy quickly.