在Ubuntu上升级MariaDB,可参考以下步骤:
mysqldump -u root -p --all-databases > full_backup.sql
sudo apt update
sudo apt upgrade mariadb-server
sudo systemctl restart mariadb
mysql -V