# mysql.sock: broken pipe

**URL:** <https://forums.percona.com/t/mysql-sock-broken-pipe/4102>\
**Category:** Percona Cloud Tools\
**Created:** [March 12, 2015, 6:14pm UTC](https://forums.percona.com/t/mysql-sock-broken-pipe/4102 "2015-03-12T18:14:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdbruder](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sdbruder](https://forums.percona.com/u/sdbruder)\
**Post date:** [March 12, 2015, 6:14pm UTC](https://forums.percona.com/t/mysql-sock-broken-pipe/4102/1 "2015-03-12T18:14:19Z")

</div>

My percona-agent.log is full of it:  
[MySQL] 2015/03/12 20:42:13 packets.go:118: write unix /var/lib/mysql/mysql.sock: broken pipe

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [March 14, 2015, 1:33am UTC](https://forums.percona.com/t/mysql-sock-broken-pipe/4102/2 "2015-03-14T01:33:45Z")

</div>

It indicate for a lost of connection, and possibly a problem with credentials for the percona-agent user to access MySQL.

Try restarting the agents on the nodes that show this behaviour by issuing:

root-shell\> service percona-agent restart

or

root-shell\> /etc/init.d/percona-agent restart

and then check their status again, they should appear as running after you restart them. Are you running latest version?

[url][https://github.com/percona/percona-agent#updating-the-agent[/url]](https://github.com/percona/percona-agent#updating-the-agent%5B/url%5D)

or

[url][Percona Software downloads for databases](http://www.percona.com/downloads/percona-agent/LATEST/%5B/url%5D)
