Skip to main content

START TRANSACTION, COMMIT & ROLLBACK

Learn START TRANSACTION, COMMIT & ROLLBACK (Transactions, MySQL) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Introduction START TRANSACTION (or BEGIN ) opens an explicit transaction and suspends autocommit until it ends. COMMIT makes all its changes permanent and visible; ROLLBACK discards them.

More lessons in Transactions