Updating Mariadb

#1
The version of Mariadb running on our GCP openlitespeed site is outdated and I’m interested in updating it. Any tutorials available for doing this on openlitespeed?
 

Cold-Egg

Administrator
#2
Dump the DB just in case.
Code:
mysqldump -u root -p --all-databases > databasedump.sql
Then you can edit the version e.g. 10.6 to 10.7 from "/etc/apt/sources.list.d/mariadb_repo.list"

Then upgrade it with following commands
Code:
apt update
apt upgrade
apt-get install mariadb-server
systemctl daemon-reload
let me know if it works.
 
Top