mysqldude
Error codes › 1362

MySQL & MariaDB error 1362 ER_TRG_CANT_CHANGE_ROW

Error messageUpdating of … row is not allowed in …trigger
Example from our test runs: Updating of NEW row is not allowed in after trigger (5.6.51)
MySQLMariaDB
SymbolER_TRG_CANT_CHANGE_ROWER_TRG_CANT_CHANGE_ROW
SQLSTATEHY000HY000
TypeServer errorServer error
Versionsevery release since 5.0 activeevery release since 5.5 active

Where this error shows up in our guides

  • Triggers · SET NEW.col in an AFTER trigger (expect 1362) MySQL 5.6 5.7 8.0 8.4 9MariaDB 10.6 10.11 11.4 11.8