Added support for MySQL and Postgres