July 31

ISP Manager Business: MariaDB upgrade

First need create the repo:

nano /etc/yum.repos.d/maria.repo

And past the repo info:

# MariaDB 10.3 CentOS repository list - created 2019-07-30 21:01 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

After that time to make the upgrade:

yum update -y

And fix the issues, takes after upgrade steps:
mv /etc/my.cnf /etc/my.cnf.back; mv /etc/my.cnf.rpmnew /etc/my.cnf
service mariadb restart;systemctl status mariadb.service -l
mysql_upgrade
service mariadb restart;systemctl status mariadb.service -l


Copyright 2021. All rights reserved.

Posted 31 July 2019 by admin in category "simple memo

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.