MySQL error code
MySQL error 1503
MySQL server error 1503 is ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF, reported with SQLSTATE HY000.
A %s must include all columns in the table's partitioning function (prefixed columns are not considered).
| Error | 1503 |
|---|---|
| Name | ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference