mysqldude
Error codes › 1506

MySQL & MariaDB error 1506 ER_FOREIGN_KEY_ON_PARTITIONED

Same number, two different errors. 1506 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLForeign keys are not yet supported in conjunction with partitioning
MariaDBPartitioned tables do not support …
MySQLMariaDB
SymbolER_FOREIGN_KEY_ON_PARTITIONEDER_FEATURE_NOT_SUPPORTED_WITH_PARTITIONING
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.1.77 activeevery release since 5.5 active
How the message changed between versions
MySQL fromSymbolMessage
5.1.77ER_FOREIGN_KEY_ON_PARTITIONEDForeign key clause is not yet supported in conjunction with partitioning
5.7.44ER_FOREIGN_KEY_ON_PARTITIONEDForeign keys are not yet supported in conjunction with partitioning
MariaDB fromSymbolMessage
5.5.68ER_FOREIGN_KEY_ON_PARTITIONEDForeign key clause is not yet supported in conjunction with partitioning
10.5.29ER_FEATURE_NOT_SUPPORTED_WITH_PARTITIONINGPartitioned tables do not support %s