Trying to Start XA Transaction: "ERROR 1400 (XAE09): XAER_OUTSIDE: Some work is done outside global transaction"

(Doc ID 1023496.1)

Last updated on JULY 31, 2017

Applies to:

MySQL Server - Version 4.0 and later
All Platforms


When attempting to start an XA transaction it fails with the error:



If autocommit is disabled, the issue may start as previous queries - even a simple SELECT statement - will leave an ongoing transaction.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms