选用“当mysql有数据新增时”这个触发动作,在字段配置中“选择唯一识别字段”和“排序字段”都要选取数据库中的系统更新字段。
如果遇到MySQL出现错误码时,点击下方链接,请参考【NDB Error Codes: by Type】相关文档
【NDB Error Codes: by Type】文档:MySQL :: MySQL NDB Cluster API Developer Guide :: 2.4.2 NDB Error Codes: by Type
This section contains a number of error code lists, one for each type of NDB API error. The error types include the following:
No error
Application error
Scan application error
Configuration or application error (currently unused)
No data found
Constraint violation
Schema error
User defined error
Insufficient space
Temporary Resource error
Node Recovery error
Overload error
Timeout expired
Node shutdown
Internal temporary
Unknown result error
Unknown error code (currently unused)
Internal error
Function not implemented
The information in each list includes, for each error:
The NDB error code
The corresponding MySQL error code
The NDB classification code
See Section 2.4.4, “NDB Error Classifications”, for the meanings of these classification codes.
The text of the error message
Similar errors have been grouped together in each list. Each list is ordered alphabetically.
You can always obtain the latest error codes and information from the file storage/ndb/src/ndbapi/ndberror.cpp. (In previous releases of NDB Cluster, this file was named ndberror.c.)
These types are also shown in the error_status column of the ndbinfo.error_messages table.