User Tools

Site Tools


upgrade_using_ius

Upgrade using iUS

Enable iUS repository

Follow guide available at iUS

Stop mariadb and install

systemctl stop mariadb
yum install 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.txt · Last modified: 2020/08/10 02:35 (external edit)