Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL InnoDB errors after upgrade to 5.7

Discussion in 'Database Discussion' started by cosmin, Jun 20, 2018.

Tags:
  1. cosmin

    cosmin Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Bucuresti
    Hi!

    I migrate yesterday from MySQL 5.6 to 5.7 and now mysqld.log is full of
    Code:
    2018-06-21T04:42:53.199836Z 56591 [ERROR] InnoDB: Page [page id: space=121028, page number=3] log sequence number 298657981840 is in the future! Current system log sequence number 216198248.
    2018-06-21T04:42:53.199866Z 56591 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to MySQL :: MySQL 5.7 Reference Manual :: 14.21.2 Forcing InnoDB Recovery for information about forcing recovery.
    
    and if I want to change passowrd of a mysql user I get
    Code:
    The system received an error from the “MySQL” database “mysql”: ER_BAD_FIELD_ERROR (Unknown column 'password_lifetime' in 'field list')
    
    I see in phpMyAdmin on mysql db:

    innodb_index_stats, innodb_table_stats, slave_master_info, slave_relay_log_info, slave_worker_info are all "in use". I try to remove than from /var/lib/mysql/mysql and import structure from other server with mysql5.7 but without success.

    Any ideea here?

    Many many thanks!
     
    #1 cosmin, Jun 20, 2018
    Last edited by a moderator: Jun 21, 2018
  2. sktest123

    sktest123 Well-Known Member

    Joined:
    Jan 31, 2017
    Messages:
    99
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    kochin
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The error message suggests InnoDB is corrupted. The link provided in the previous post includes information about how to repair InnoDB.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice