Skip to content

Instantly share code, notes, and snippets.

@srl295
Created March 2, 2023 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srl295/75f8060e01065bfa6a6159b9361652d1 to your computer and use it in GitHub Desktop.
Save srl295/75f8060e01065bfa6a6159b9361652d1 to your computer and use it in GitHub Desktop.
failed upgrade from mysql 8.0.30 to 8.0.32
$ mysqld --upgrade=FORCE
[System] [MY-010116] [Server] /usr/local/Cellar/mysql/8.0.32/bin/mysqld (mysqld 8.0.32) starting as process 43318
[System] [MY-013577] [InnoDB] InnoDB initialization has ended.
[System] [MY-013381] [Server] Server upgrade from '80030' to '80032' started.
[Warning] [MY-011836] [InnoDB] sdi_delete failed: Record Doesn't exist: tablespace_id: 1 Key: 1 5997
[ERROR] [MY-013178] [Server] Execution of server-side SQL statement '-- Copyright (c) 2018, 2022, Oracle and/or its affiliates. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; version 2 of the License. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -- -- Alters the sys_config table for upgrades -- ALTER TABLE sys_config CHARACTER SET utf8mb4; ' failed with error code = 3958, error message = 'Failed to delete sdi for sys.sys_config in sys/sys_config due to missing record.'.
[ERROR] [MY-013380] [Server] Failed to upgrade server.
[ERROR] [MY-010119] [Server] Aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment