mariadb: set basedir in mysql_install_db

Fixes #30125.
mariadb: update 10.0.12 bottle.