fallback from $dbh to $dsn