try to use DATABASE_URL if no dsn is specified