$dbh = DBI->connect_cached($dsn, $user, $password, {RaiseError => 1, AutoCommit => $transaction });