In production the module "mariadb" is used for DBs. We also have the module "mysql" which is older but not used by any prod DBs nowadays. Just few misc (cloud) things are still using the mysql module.
We would like to remove the mysql module entirely (--> T162070)
quarry is one of the few things using this last time we checked.
So this task is to make quarry switch to the other module. In the long-term we only want to support one module for DBs.
Another thing is that the mysql module shows up as one of the default classes for cloud VPS users for historic reasons but nowadays doesn't work anymore. (It tries to use precise/trusty APT sources etc). So that should also be replaced there. And we need to find out what exactly uses the module besides quarry.