Adapt to change in mysql module

Use a parameter for performance setting instead of subclasses.
Merge pull request #17 from ckaenzig/mysql-strict-variables-refactoring

Adapt to change in mysql module