Upgrading Between Minor Versions of On Linux
You are viewing an old version of this article. View
the current version here.
To upgrade between minor versions of MariaDB (for example from MariaDB 10.1.10 to MariaDB 10.1.11), the following procedure is suggested:
- Shutdown MariaDB.
- Take a backup (this is the perfect time to take a backup of your databases).
- Uninstall the old version of MariaDB.
- Install the new version of MariaDB.
- Run mysql_upgrade
mysql_upgrade
does two things:- Upgrades the permission tables in the
mysql
database with any new fields. - Does a very quick check of all tables and marks them as compatible with the new version of MariaDB .
- Upgrades the permission tables in the
- In most cases this should be a fast operation (depending of course on the number of tables).
- Add any new options to my.cnf to enable features.
- If you change
my.cnf
then you need to restartmysqld
- If you change
To upgrade between major versions, see the following:
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.