mysql and pgsql support added