There are no changes in table or index formats between MariaDB 5.3 and MariaDB 5.5, so on most servers the upgrade should be painless.
The suggested upgrade procedure is:
mysql_upgrade
does two things: mysql
database with some new fields my.cnf
then you need to restart mysqld
As mentioned previously, on most servers upgrading from 5.5 should be painless. However, there are some things that have changed which could affect an upgrade:
Option | Old value | New value |
---|---|---|
innodb_change_buffering | inserts | all |
innodb_flush_neighbor_pages | 1 | area |
Percona, the provider of XtraDB, does not provide all earlier XtraDB features in the 5.5 code base. Because of that, MariaDB 5.5 can't provide them either. The following options are not supported by XtraDB 5.5. If you are using them in any of your my.cnf files, you should remove them before upgrading to 5.5.
apt
or yum
repository, it is often enough to replace instances of '5.3' with '5.5' and then run an update/upgrade. For example, in Ubuntu/Debian update the MariaDB sources.list
entry from something that looks similar to this:deb http://ftp.osuosl.org/pub/mariadb/repo/5.3/ubuntu trusty mainTo something like this:
deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty mainAnd then run
apt-get update && apt-get upgradeAnd in Red Hat, CentOS, and Fedora, change the
baseurl
line from something that looks like this:baseurl = http://yum.mariadb.org/5.3/centos6-amd64To something that looks like this:
baseurl = http://yum.mariadb.org/5.5/centos6-amd64And then run
yum update
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/upgrading-from-mariadb-53-to-mariadb-55/