Added a configuration for mysql and some unit tests for it as well.