MySQL Error 3815 – ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED

MySQL Error Message

An expression of a check constraint ‘%s’ contains
disallowed function.

Reason for the Error

ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED
was added in 8.0.16.