Error codes › 4004
MySQL & MariaDB error 4004 ER_DA_CANT_OPEN_ERROR_LOG
Same number, two different errors. 4004 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
| MySQL | MariaDB | |
|---|---|---|
| Symbol | ER_DA_CANT_OPEN_ERROR_LOG | ER_DUP_QUERY_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
| MariaDB from | Symbol | Message |
|---|---|---|
| 10.2.44 | ER_DUP_QUERY_NAME | Duplicate query name in WITH clause '%s' |
| 10.3.39 | ER_DUP_QUERY_NAME | Duplicate query name %`-.64s in WITH clause |