An upgrading guide for unmaintained versions of MariaDB Community Server.
There are no changes in table or index formats between and , so on most servers the upgrade should be painless.
The suggested upgrade procedure is:
For Windows, see instead.
Shutdown
Take a backup (this is the perfect time to take a backup of your databases)
Uninstall
Ubuntu and Debian packages do this automatically when they are installed; Red Hat, CentOS, and Fedora packages do not
mysql_upgrade does two things:
Upgrades the permission tables in the mysql database with some new fields
Add new options to to enable features
If you change 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:
Percona, the provider of , does not provide all earlier XtraDB features in the 5.5 code base. Because of that, 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.
; Use instead.
; Use instead (and in ).
innodb_blocking_lru_restore; Use instead.
If using a MariaDB apt or yum , 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:
To something like this:
And then run
And in Red Hat, CentOS, and Fedora, change the baseurl line from something that looks like this:
To something that looks like this:
And then run
This page is licensed: CC BY-SA / Gnu FDL
Install [1]
Run mysql_upgrade
In most cases this should be a fast operation (depending of course on the number of tables)
innodb_expand_import; Use innodb_import_table_from_xtrabackup instead.
innodb_extra_rsegments; Use innodb_rollback_segments instead.
innodb_fast_recovery
innodb_flush_log_at_trx_commit_session
innodb_pass_corrupt_table; Use innodb_corrupt_table_action instead.
inserts
all
1
area
deb http://ftp.osuosl.org/pub/mariadb/repo/5.3/ubuntu trusty maindeb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty mainapt-get update && apt-get upgradebaseurl = http://yum.mariadb.org/5.3/centos6-amd64baseurl = http://yum.mariadb.org/5.5/centos6-amd64yum update