mysql module: Specify --basedir

Needed for mariadb and safe for mysql