# Error Running pmm-client

**URL:** <https://forums.percona.com/t/error-running-pmm-client/15988>\
**Category:** MySQL & MariaDB\
**Tags:** community, pmm, troubleshooting, mysql, percona, new-release\
**Created:** [June 6, 2022, 3:11am UTC](https://forums.percona.com/t/error-running-pmm-client/15988 "2022-06-06T03:11:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Somasuntaram\_M](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/somasuntaram_m/32/5351_2.png) [@Somasuntaram\_M](https://forums.percona.com/u/Somasuntaram_M)\
**Post date:** [June 6, 2022, 3:11am UTC](https://forums.percona.com/t/error-running-pmm-client/15988/1 "2022-06-06T03:11:39Z")

</div>

Have configured pmm server and also pmm-client in kubernetes environment. when trying to run pmm-client after running pmm-server getting the following error.

```auto
ERRO[2022-06-06T03:03:21.598+00:00] failed to query events_statements_history: dial tcp XX.X.X.X:33062: connect: connection refused agentID=/agent_id/XX-.. component=agent-builtin type=qan_mysql_perfschema_agent
INFO[2022-06-06T03:03:22.437+00:00] time="2022-06-06T03:03:22Z" level=error msg="Error pinging mysqld: dial tcp XX.X.X.X:33062: connect: connection refused" source="exporter.go:88" agentID=/agent_id/XX-.. component=agent-process type=mysqld_exporter
INFO[2022-06-06T03:03:23.321+00:00] time="2022-06-06T03:03:23Z" level=error msg="Error pinging mysqld: dial tcp XX.X.0.X:3306: connect: connection refused" source="exporter.go:88" agentID=/agent_id/XX-.. component=agent-process type=mysqld_exporter

```

and so the pmm-client container in pxc pod is getting crashloopbackoff

---

<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:** [June 6, 2022, 2:48pm UTC](https://forums.percona.com/t/error-running-pmm-client/15988/2 "2022-06-06T14:48:11Z")

</div>

The error message is quite explicit as to the issue. Please read the error message and see if you can figure out why it isn’t working. Some basic networking troubleshooting will help as well.

---

<div class="post-metadata">

**Author:** ![Vsevosemnog](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vsevosemnog](https://forums.percona.com/u/Vsevosemnog)\
**Post date:** [March 20, 2023, 2:44pm UTC](https://forums.percona.com/t/error-running-pmm-client/15988/3 "2023-03-20T14:44:29Z")

</div>

So what is the solution of this issue?  
I have one of the pods ready and working, two others - don`t what`s wrong?  
Really can`t get it
