User Tools

Site Tools


upgrade_using_ius

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
upgrade_using_ius [2019/02/26 18:32] k2patelupgrade_using_ius [2020/08/10 02:35] (current) – external edit 127.0.0.1
Line 7: Line 7:
 <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
 </code> </code>
Line 16: Line 17:
 </code> </code>
  
-<code ini /etc/systemd/system/mariadb.service.d/limit.conf>+<code ini /etc/systemd/system/mariadb.service.d/limit.conf>
 [Service] [Service]
 LimitNOFILE=320000 LimitNOFILE=320000
 </code> </code>
  
 +==== Start mariadb ====
 <code bash> <code bash>
- 
- 
 systemctl start mariadb systemctl start mariadb
-mysqlcheck --no-defaults --check-upgrade --all-databases --auto-repair --write-binlog +</code> 
-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
 </code> </code>
upgrade_using_ius.1551205931.txt.gz · Last modified: 2020/08/10 02:29 (external edit)