mariadb: set basedir in mysql_install_db

Fixes #30125.
mariadb: update 10.0.12 bottle.

Closes #30345.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>