mysqldude
Error codes › 1861

MySQL & MariaDB error 1861 ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL

MySQLcannot silently convert NULL values, as required in this SQL_MODE
MariaDBcannot convert NULL to non-constant DEFAULT
MySQLMariaDB
SymbolER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULLER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.6.51 activesince 10.0.38 active
How the message changed between versions
MariaDB fromSymbolMessage
10.0.38ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULLcannot silently convert NULL values, as required in this SQL_MODE
10.3.39ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULLcannot convert NULL to non-constant DEFAULT