mysqldude
Error codes › 4157

MySQL & MariaDB error 4157 ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE

Same number, two different errors. 4157 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLColumn can't be added or dropped with ALGORITHM=INSTANT as either max possible row size already crosses max permissible row size or may cross it after add. Try ALGORITHM=INPLACE/COPY.
MariaDBColumn … used in period … specified in update SET list
MySQLMariaDB
SymbolER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZEER_PERIOD_COLUMNS_UPDATED
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.36 activesince 10.4.34 active