A MySQL database has the parameter sql_require_primary_key set to 1 which would ensure that no table can be created without a primary key. After enabling this parameter PI cannot be enabled on MySQL database and it fails with following error:
The parameter sql_require_primary_key to 1 is set in the MySQL database which would ensure that no table can be created without a primary key. After enabling this parameter PI cannot be enabled on MySQL database and it fails with below error. Unable to create or change a table without a primary key when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting.'© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center