We have a few use cases where we need stand-alone mysql databases. In particular powerdns uses a local database.
With previous versions of the wmf-mariadb package, I've been able to install the packages with puppet, and then
# /path/to/mysql_install_db <snip> # mysql mysql:root@localhost [(none)]>
The latest package (wmf-mariadb103, on Stretch) doesn't seem to support that. The install_db command fails because it's expecting to be installed in /opt/wmf-mariadb10 instead of /opt/wmf-mariadb103. When I work around that with a symlink I can bootstrap, but then I see...
# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
And, indeed, /tmp/mysql.sock doesn't exist.
I'm not sure whether this is an issue with the package being broken, or just that I'm not using it as intended. If the latter, can you suggest the 'proper' way to get mysql up and running for my purposes? Should I just use debian stock mysql packages?