I was thinking you could probably do a setup like you do now with apache/nginx-apache/nginx setting in the CB gui.
just have choice of mariadb or mysql.
seems to me that would handle the issue well.
+1
I think this is the best solution, than everyone can choose for them self which db solution they want.