MySQL & MariaDB error 4089 ER_DEFINITION_CONTAINS_INVALID_STRING
Same number, two different errors. 4089 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLDefinition of … '….…' contains an invalid … character string: '…'.
MariaDB'….…' is not a SEQUENCE