mysqldude
Error codes › 4158

MySQL & MariaDB error 4158 ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDS

Same number, two different errors. 4158 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLColumn can't be added to '…' with ALGORITHM=INSTANT anymore. Please try ALGORITHM=INPLACE/COPY.
MariaDBCan't DROP CONSTRAINT `…`. Use DROP PERIOD `…` for this
MySQLMariaDB
SymbolER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDSER_PERIOD_CONSTRAINT_DROP
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.36 activesince 10.4.34 active