Your Library
Chapter 13 · Connections and TransactionsKeep session state together and commit related changes safely
Contents
Chapter 12

Connections and Transactions

Keep session state together and commit related changes safely

An application connects to a database through sessions, often managed by a connection pool. This chapter explains why a transaction must stay on one connection, how to commit or undo work, and how InnoDB uses versions, logs, and locks to support transactions.

In this chapter

  1. 12.1Connections and Transactions