[MDEV-33262] Fatal error 1408 when installing mariadb-server / mariadb-upgrade Created: 2024-01-17 Updated: 2024-01-17 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Platform Debian, Upgrades |
| Affects Version/s: | 10.11.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Curtis Spencer | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 12, 10.11.4-MariaDB-1~deb12u1 |
||
| Attachments: |
|
| Description |
|
I recently upgraded a Debian 10 server running MySQL 5.7 to MariaDB 10.3. That upgrade went smoothly so I then upgraded to Debian 11 and MariaDB 10.5. That also went smoothly. I then upgraded to Debian 12 and MariaDB 10.11. While performing that upgrade, I encountered an issue with mariadb-server:
I recently upgraded my Debian 10 server running MySQL 5.7 to Debian 11 and MariaDB 10.3. That upgrade went smoothly. I then decided to upgrade to Debian 12 and MariaDB 10.11. While performing that upgrade, I encountered an issue with mariadb-server:
Next, I ran apt purge mariadb-server and then tried to reinstall with apt install mariadb-server and got the same error as above. It appears that the installation itself succeedes as I was able to run systemctl start mariadb so that I could then run mariadb-upgrade but that failed part of the way through with:
/var/log/mysql/error.log shows a few errors related to a column type mismatch for mysql.event table but I'm not sure if that is related to the mariadb-upgrade/mysql_fix_privilege_tables error or not. I ran mariadb-check --check-upgrade --all-databases and all of the tables were marked as "OK". Running SELECT @@Version; returns "10.11.4-MariaDB-1~deb12u1" so the upgrade appears to have been mostly successful but I'm not sure how to fix the privilege tables. In addition, every time I run apt install or apt upgrade, dpkg attempts to configure mariadb-server, which kills the mariadb.service. So, I need to figure out how to get this issue resolved. |
| Comments |
| Comment by Daniel Black [ 2024-01-17 ] |
|
Can you provide a mariadb-dump --no-data mysql , so the structures of the system tables. |
| Comment by Curtis Spencer [ 2024-01-17 ] |
|
I have attached the output of mariadb-dump. |