Ubuntu 18.04 has MariaDB 10.3 and MySQL 5.7
(https://packages.ubuntu.com/search?suite=all&searchon=names&keywords
=mysql-server). The bug report mentions MySQL 8.0. That is a 3rd party
package that is not officially in Debian or Ubuntu, so testing such
packages or fixing their issues is probably our of scope..

In genera, I don't think that in-place binary upgrade from MySQL 8.0
(released in 2019) to an older MariaDB 10.3 (released in 2018) is even
possible.

I just tested in a Docker container installing mysql-server-8.0 in
Ubuntu Focal, and then attempting to upgrade it to MariaDB 10.3. The
mysqld restart fails and the error log will have:

2020-01-09 20:07:08 0 [ERROR] InnoDB: Invalid flags 0x4800 in ./ibdata1
2020-01-09 20:07:08 0 [ERROR] InnoDB: Plugin initialization aborted with error 
Data structure corruption
2020-01-09 20:07:10 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-01-09 20:07:10 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE 
failed.
2020-01-09 20:07:10 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-01-09 20:07:10 0 [ERROR] Aborting

This is kind of natural since older MariaDB 10.3 cannot know what data
structures future released (MySQL 8.0) will use.. basically it is a
downgrade situation. You need to upgrade to MariadB 10.4 or 10.5, though
I have not checked their MySQL 8.0 compatibility.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853817

Title:
  package mariadb-client-10.3 (not installed) failed to install/upgrade:
  попытка перезаписать «/usr/bin/mysqldump», который уже имеется в
  пакете mysql-community-client-core 8.0.18-1ubuntu18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1853817/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to