# Pmm-agent throwing error 1045

**URL:** <https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328>\
**Category:** PMM 2.x\
**Created:** [September 6, 2022, 12:44pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328 "2022-09-06T12:44:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ani\_Ghoghoberidze](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ani_ghoghoberidze/32/7681_2.png) [@Ani\_Ghoghoberidze](https://forums.percona.com/u/Ani_Ghoghoberidze)\
**Post date:** [September 6, 2022, 12:44pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/1 "2022-09-06T12:44:56Z")

</div>

Hi.

PMM agent is throwing a lot of errors :

`Sep 6 12:29:50 proxysql-1 pmm-agent[349257]: #033[31mERRO#033[0m[2022-09-06T12:29:50.378+00:00] time="2022-09-06T12:29:50Z" level=error msg="Error scraping for collect.runtime_mysql_servers Error 1045: ProxySQL Admin Error: no such table: runtime_mysql_servers" source="exporter.go:201" #033[31magentID#033[0m=/agent_id/a32e7b23-1027-4531-bedf-5566dd2758a5 #033[31mcomponent#033[0m=agent-process #033[31mtype#033[0m=proxysql_exporter`

Agent ID is connected to working node, and can’t delete it. What can I do?

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [September 20, 2022, 8:12pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/2 "2022-09-20T20:12:32Z")

</div>

Hi @Ani_Ghoghoberidze , welcome to the Percona forums!  
First off our apologies for not having answered your question for 2 weeks. This was simply missed in our queue, usually we respond within hours (if not minutes) to new posts.  
Regarding your error, can you tell us:

1. What version of ProxySQL are you running?
2. What version of PMM Server and PMM Client are you using?
3. What was the configuration command you used to set up ProxySQL i.e. `pmm-admin add proxysql` …

This is very strange as ProxySQL can’t really work properly without `runtime_mysql_servers` table… 🤔

---

<div class="post-metadata">

**Author:** ![Ani\_Ghoghoberidze](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ani_ghoghoberidze/32/7681_2.png) [@Ani\_Ghoghoberidze](https://forums.percona.com/u/Ani_Ghoghoberidze)\
**Post date:** [September 21, 2022, 7:22am UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/3 "2022-09-21T07:22:13Z")

</div>

Hi @Michael_Coburn , thanks for response.

1. Version of ProxySQL is `2.4.3-percona-1.1`

2. PMM server and client versions are `2.30.0`

3. Command - `pmm-admin add proxysql --username=user --password=pass`

Yes, it’s strange, everything works well but we still have a lot of errors

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [September 28, 2022, 2:28pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/4 "2022-09-28T14:28:41Z")

</div>

Hi @Ani_Ghoghoberidze  
Looks like you are on recent versions. It seems to me that this is a bug. Can you please submit a report in the Percona JIRA queue at:  
[https://jira.percona.com/projects/PMM](https://jira.percona.com/projects/PMM)

---

<div class="post-metadata">

**Author:** ![Ani\_Ghoghoberidze](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ani_ghoghoberidze/32/7681_2.png) [@Ani\_Ghoghoberidze](https://forums.percona.com/u/Ani_Ghoghoberidze)\
**Post date:** [October 2, 2022, 11:06pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/5 "2022-10-02T23:06:20Z")

</div>

Hi @Michael_Coburn

Done - [[PMM-10812] Pmm-agent throwing error 1045 - Percona JIRA](https://jira.percona.com/browse/PMM-10812)

Thanks !

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 4, 2022, 2:57pm UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/6 "2022-10-04T14:57:43Z")

</div>

Very good - thank you!!

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [March 18, 2023, 8:44am UTC](https://forums.percona.com/t/pmm-agent-throwing-error-1045/17328/7 "2023-03-18T08:44:17Z")

</div>

same issue on pmm 2.35.0  
proxysql version: proxysql-2.3.2-1.x86\_64
