Plesk

MySQL/MariaDB fails to start: Upgrade after a crash is not supported

Symptoms

Cause

The InnoDB files ib_logfile0 and ib_logfile1 are corrupted.

Resolution

  1. Connect to a Plesk server via SSH.

  2. Stop MySQL/MariaDB server:

    # systemctl stop mysql || systemctl stop mariadb || systemctl stop mysqld

  3. Rename the corrupted ib_logfile files:

    # mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak
    # mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak

  4. Start MySQL/MariaDB server:

    # systemctl start mysql || systemctl start mariadb || systemctl start mysqld

Exit mobile version