Added support for mysql and postgres at the same time