upgrade_using_ius
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
upgrade_using_ius [2019/02/26 18:24] – k2patel | upgrade_using_ius [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
Follow guide available at [[https:// | Follow guide available at [[https:// | ||
+ | ==== Stop mariadb and install ==== | ||
<code bash> | <code bash> | ||
systemctl stop mariadb | systemctl stop mariadb | ||
+ | yum install yum-plugin-replace | ||
yum replace mariadb-server --replace-with mariadb101u-server | yum replace mariadb-server --replace-with mariadb101u-server | ||
+ | </ | ||
+ | |||
+ | ==== Setup file limit for mariadb ==== | ||
+ | File limit require to upgrade mariadb. | ||
+ | <code bash> | ||
mkdir / | mkdir / | ||
- | / | + | </ |
+ | |||
+ | <code ini / | ||
[Service] | [Service] | ||
LimitNOFILE=320000 | LimitNOFILE=320000 | ||
+ | </ | ||
+ | |||
+ | ==== Start mariadb ==== | ||
+ | <code bash> | ||
systemctl start mariadb | systemctl start mariadb | ||
- | mysqlcheck --no-defaults --check-upgrade --all-databases --auto-repair --write-binlog | + | </ |
- | mysqlcheck --no-defaults --all-databases --fix-db-names --fix-table-names --write-binlog -p | + | |
+ | ==== Finalize Upgrade ==== | ||
+ | <code bash> | ||
mysqlcheck --no-defaults --check-upgrade --auto-repair --databases mysql -p | 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 | mysql_upgrade | ||
</ | </ |
upgrade_using_ius.1551205496.txt.gz · Last modified: 2020/08/10 02:29 (external edit)