Created
March 2, 2023 16:28
-
-
Save srl295/75f8060e01065bfa6a6159b9361652d1 to your computer and use it in GitHub Desktop.
failed upgrade from mysql 8.0.30 to 8.0.32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
Sorry I really don’t remember. I may have removed something and tried
again.
El El sáb, dic 14, 2024 a la(s) 6:17 p.m., Ian Harcourt-Smith <
***@***.***> escribió:
… ***@***.**** commented on this gist.
------------------------------
I have the same error - "Server upgrade from '80039' to '80040' started."
and such - how did you solve this issue?
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/srl295/75f8060e01065bfa6a6159b9361652d1#gistcomment-5339078>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGQZMYT32US6Z2JQZ4E4FL2FTDDPBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTEMJRHA4DQMZRU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
I seem to have fixed my setup by doing a clean restore - my steps were:
- mysql backup
- removed /var/lib/mysql/*
- used "mysqld --initialize --console" for a fresh database setup
- mysql restore
that rings a bell. (my memory is…) it wasn't my data that was breaking, it was some kind of admin table.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same error - "Server upgrade from '80039' to '80040' started." and such - how did you solve this issue?