Skip to main content

Error in MySQL upgrade from 5.6 to 5.7

Comments

3 comments

  • 24x7server
    Hi, Execute the below command in one SSH session: # tail -f /var/lib/mysql/.err Open second SSH session and execute below command: # service mysqld restart OR # service mysql restart Check what error is occuring and paste the error here.
    0
  • ejde
    Thank you for the reply. Here is the output from the first terminal window after issuing both commands as instructed: 2018-08-28T04:50:03.329696Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2018-08-28T04:50:03.329740Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2018-08-28T04:50:03.329758Z 0 [ERROR] Failed to initialize builtin plugins. 2018-08-28T04:50:03.329763Z 0 [ERROR] Aborting 2018-08-28T04:50:03.329774Z 0 [Note] Binlog end 2018-08-28T04:50:03.329820Z 0 [Note] Shutting down plugin 'MyISAM' 2018-08-28T04:50:03.329837Z 0 [Note] Shutting down plugin 'CSV' 2018-08-28T04:50:03.330240Z 0 [Note] /usr/sbin/mysqld: Shutdown complete 2018-08-28T11:31:34.707254Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2018-08-28T11:31:34.742280Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.23) starting as process 1526 ... 2018-08-28T11:31:34.829121Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-08-28T11:31:34.829151Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-08-28T11:31:34.829165Z 0 [Note] InnoDB: Uses event mutexes 2018-08-28T11:31:34.829177Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier 2018-08-28T11:31:34.829188Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-08-28T11:31:34.829199Z 0 [Note] InnoDB: Using Linux native AIO 2018-08-28T11:31:34.829390Z 0 [Note] InnoDB: Number of pools: 1 2018-08-28T11:31:34.829489Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-08-28T11:31:34.830733Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-08-28T11:31:34.836990Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-08-28T11:31:34.838782Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page ofsetpriority(). 2018-08-28T11:31:34.936705Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-08-28T11:31:35.061035Z 0 [ERROR] InnoDB: Upgrade after a crash is not supported. This redo log was created before MySQL 5.7.9, and we did not find avalid checkpoint. Please follow the instructions at MySQL :: MySQL 5.7 Reference Manual :: 2.11.1 Upgrading MySQL 2018-08-28T11:31:35.061073Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2018-08-28T11:31:35.461390Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2018-08-28T11:31:35.461424Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2018-08-28T11:31:35.461435Z 0 [ERROR] Failed to initialize builtin plugins. 2018-08-28T11:31:35.461443Z 0 [ERROR] Aborting 2018-08-28T11:31:35.461624Z 0 [Note] Binlog end 2018-08-28T11:31:35.461672Z 0 [Note] Shutting down plugin 'MyISAM' 2018-08-28T11:31:35.462057Z 0 [Note] Shutting down plugin 'CSV' 2018-08-28T11:31:35.467876Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
    0
  • cPanelMichael
    Hello @ejde, It looks like InnoDB is corrupted on the server. We provide a guide for you to follow in order to attempt to repair InnoDB at: Thank you.
    0

Please sign in to leave a comment.