Use MySQL variant in case it is configured

Signed-off-by: Michal Čihař <michal@cihar.com>
Catch all variants here

Signed-off-by: Michal Čihař <michal@cihar.com>