# DML command rejected when PXC mode set to Enforcing

**URL:** <https://forums.percona.com/t/dml-command-rejected-when-pxc-mode-set-to-enforcing/5390>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [February 2, 2017, 12:01pm UTC](https://forums.percona.com/t/dml-command-rejected-when-pxc-mode-set-to-enforcing/5390 "2017-02-02T12:01:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [February 3, 2017, 10:34am UTC](https://forums.percona.com/t/dml-command-rejected-when-pxc-mode-set-to-enforcing/5390/2 "2017-02-03T10:34:39Z")

</div>

Enforcing mode was specifically implemented to catch issues like tables without PRIMARY KEYS. It is a very bad idea to use tables without Primary Key on Percona XtraDB Cluster. You of course can switch to the Permissive mode, but I strongly suggest to add PRIMARY KEY to the table  
artifactory.permission\_target\_repos

---

_[View the full topic](https://forums.percona.com/t/dml-command-rejected-when-pxc-mode-set-to-enforcing/5390)._
