Topic on Talk:Meza/Flow

Upgrading Meza Centos7 Mariadb 5.5 to 10.6

2
Revansx (talkcontribs)

An unfortunate limitation of using centos7 is that centos7 epel repos are limited to mariadb 5.5. Fortunately, mariadb.com has an upgrade tutorial [1] that I was finally able to get to work with a few additional steps. The upgrade procedure is as follows:

sudo systemctl stop mariadb
sudo yum install wget

wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
chmod +x mariadb_repo_setup
sudo ./mariadb_repo_setup

sudo yum update

sudo systemctl start mariadb

sudo mysql_upgrade

Finally, visit Special:Version and confirm that mariadb is now 10.6.x

If mariadb won't start, then you might need to do the following:

sudo tail -n 50 /var/log/mariadb/mariadb.log

to see what the issues are and then maybe:

sudo mkdir /var/lib/mysql
sudo chown -R mysql:root /var/lib/mysql

sudo mkdir /var/run/mariadb
sudo chown -R mysql:root /var/run/mariadb

as needed.


[1] https://mariadb.com/resources/blog/installing-mariadb-10-on-centos-7-rhel-7/

Revansx (talkcontribs)

As far as adding this to meza, I think it needs to be added to the /src/scripts/getmeza.sh for new installations and users seeking to upgrade existing systems can simply refer to this help topic.

Reply to "Upgrading Meza Centos7 Mariadb 5.5 to 10.6"