# Percona XtraDB Operator with PMM enable - Error on pxc deployment

**URL:** <https://forums.percona.com/t/percona-xtradb-operator-with-pmm-enable-error-on-pxc-deployment/8356>\
**Category:** Percona Operator for MySQL\
**Created:** [December 7, 2020, 10:00am UTC](https://forums.percona.com/t/percona-xtradb-operator-with-pmm-enable-error-on-pxc-deployment/8356 "2020-12-07T10:00:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GedasTSB](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/gedastsb/32/3285_2.png) [@GedasTSB](https://forums.percona.com/u/GedasTSB)\
**Post date:** [December 7, 2020, 10:00am UTC](https://forums.percona.com/t/percona-xtradb-operator-with-pmm-enable-error-on-pxc-deployment/8356/1 "2020-12-07T10:00:43Z")

</div>

Hello, I have a question regarding PMM-Client and K8S Percona Operator.

I deployed the Percona XtraDB cluster with pmm setting enable:

cr.yaml pmm part:

pmm:

```
enabled: true

image: percona/percona-xtradb-cluster-operator:1.6.0-pmm

serverHost: monolith-mysql-monitoring

serverUser: pmm

resources:

  requests:

    memory: 200M

    cpu: 200m

```

As pmm-server I used container with - image: ‘percona/pmm-server:2.0’.

So after the cluster is deployed and pmm-client also running I start getting monitoring information in Grafana.

But in the Perconaxtradbclusters on the status I see error (the logs are bellow) (Where it tried to find pmmserver user):

![image.png](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/1e75c971256773cca7494485e420d33f5da3fcfd.png)

 ![image.png](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/11c2cc71fa7346739c080971538401be601a15eb.png)

Into percona-xtradb-cluster-operato log file I see this:

{“level”:“error”,“ts”:1607354268.728692,“logger”:“controller-runtime.controller”,“msg”:“Reconciler error”,“controller”:“perconaxtradbcluster-controller”,“request”:“monolith/monolith-mysql”,“error”:“reconcile ││ Users: manage sys users: undefined or not exist user pmmserver”,“errorVerbose”:"undefined or not exist user pmmserver\ngithub.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc.(\*ReconcilePercona ││ XtraDBCluster).manageSysUsers\n\t/go/src/github.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc/users.go:229.…

Full log attached.

Did someone had the same experience? And already find about what user it talking here?

Also attach pmm-client logs.

[percona-xtradb-cluster-operator.log](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/76de4e87016820d06088608175e97d39deeb371a.log)

[pmm.log](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/17576ed9b133b938a948ef4ba2e55d1bf7b7c495.log)

[percona-xtradb-cluster-operator.log](https://forums.percona.com/uploads/short-url/gXyD9zAVsGYOFkCZkafDtaZBsLw.log) (8.01 MB)

[pmm.log](https://forums.percona.com/uploads/short-url/3kuiYWWBBU7a0TSCqCF3WUZR8yh.log) (62.4 KB)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [December 7, 2020, 10:51am UTC](https://forums.percona.com/t/percona-xtradb-operator-with-pmm-enable-error-on-pxc-deployment/8356/2 "2020-12-07T10:51:41Z")

</div>

Hi @GedasTSB , the ‘pmmserver’ is a required MySQL user that should exist within your PXC. When you deployed the secrets.yml, this should have included a pmmserver user. You’ll need to create this user manually within PXC, then re-deploy your secrets to include the pmmserver user with the base58 encoded password.
