Include latest version of mariadb 10.6 in default build

I think you’ve posted in the wrong place. The topic you linked to is about phpmyadmin, not mariadb.

But, yes, both should be installed by updating the repo to the latest stable release and then install.

I’ve added instructions for updating mariadb here Upgrading MariaDB manually - Docs / 12 - Databases - CyberPanel Community