[MDEV-31562] Error text "A manual upgrade is required" in RPMs wrongly refers to MySQL Created: 2023-06-27  Updated: 2023-06-27

Status: Open
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.4, 10.5, 10.6, 10.9, 10.10, 10.11, 11.0, 11.1
Fix Version/s: 11.0, 11.1

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The text which RPMs return upon attempting to upgrade the server looks weird in any version, but it seems especially strange in 11.x after so much renaming effort has been made.

A MySQL or MariaDB server package (MariaDB-server-11.0.2-1.el7.centos.x86_64) is installed.

Upgrading directly from MySQL 11.0 to MariaDB 11.1 may not
be safe in all cases. A manual dump and restore using mysqldump is
recommended. It is important to review the MariaDB manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

  • Ensure that you have a complete, working backup of your data and my.cnf
    files
  • Shut down the MySQL server cleanly
  • Remove the existing MySQL packages. Usually this command will
    list the packages you should remove:
    rpm -qa | grep -i '^mysql-'

You may choose to use 'rpm --nodeps -ev <package-name>' to remove
the package which contains the mysqlclient shared library. The
library will be reinstalled by the MariaDB-shared package.

  • Install the new MariaDB packages supplied by MariaDB Foundation
  • Ensure that the MariaDB server is started
  • Run the 'mysql_upgrade' program

This is a brief description of the upgrade process. Important details
can be found in the MariaDB manual, in the Upgrading section.



 Comments   
Comment by Elena Stepanova [ 2023-06-27 ]

See also a note about text contents in MDEV-31561.

Generated at Thu Feb 08 10:24:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.