fixed postgresql/mysql setup