User Tools

Site Tools


upgrade_using_ius

This is an old revision of the document!


Upgrade using iUS

Enable iUS repository

Follow guide available at iUS

Stop mariadb and install

systemctl stop mariadb
yum install mysql yum-plugin-replace
yum replace mariadb-server --replace-with mariadb101u-server

Setup file limit for mariadb

File limit require to upgrade mariadb.

mkdir /etc/systemd/system/mariadb.service.d
/etc/systemd/system/mariadb.service.d/limit.conf
[Service]
LimitNOFILE=320000

Start mariadb

systemctl start mariadb

Finalize Upgrade

mysqlcheck --no-defaults --check-upgrade --auto-repair --databases mysql -p
mysqlcheck --no-defaults --check-upgrade --all-databases --auto-repair --write-binlog -p
mysqlcheck --no-defaults --all-databases --fix-db-names --fix-table-names --write-binlog -p
mysql_upgrade
upgrade_using_ius.1551207116.txt.gz · Last modified: 2019/02/26 13:51 by k2patel