To upgrade between minor versions of MariaDB (for example from MariaDB 10.1.10 to MariaDB 10.1.11), the following procedure is suggested:

  1. Shutdown MariaDB.
  2. Take a backup (this is the perfect time to take a backup of your databases).
  3. Uninstall the old version of MariaDB.
  4. Install the new version of MariaDB.
  5. Run mysql_upgrade
    • mysql_upgrade does two things:
      1. Upgrades the permission tables in the mysql database with any new fields.
      2. Does a very quick check of all tables and marks them as compatible with the new version of MariaDB .
    • In most cases this should be a fast operation (depending of course on the number of tables).
  6. Add any new options to my.cnf to enable features.
    • If you change my.cnf then you need to restart mysqld

To upgrade between major versions, see the following:

Comments

Comments loading...