Error codes › 4010
MySQL & MariaDB error 4010 ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL
Same number, two different errors. 4010 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
| MySQL | MariaDB | |
|---|---|---|
| Symbol | ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL | ER_DUP_WINDOW_NAME |
| SQLSTATE | HY000 | HY000 |
| Type | Server error | Server error |
| Versions | since 8.0.26 active | since 10.2.44 active |
How the message changed between versions
| MySQL from | Symbol | Message |
|---|---|---|
| 8.0.26 | ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL | The statement is unsafe because it updates a table depending on ACL table read operation. As storage engine row locks are skipped for ACL table, it may not have same effect on master and slave. |
| 8.0.36 | ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL | The statement is unsafe because it updates a table depending on ACL table read operation. As storage engine row locks are skipped for ACL table, it may not have same effect on source and replica. |