# How to reset Percona XtraDB Cluster on all nodes?

**URL:** <https://forums.percona.com/t/how-to-reset-percona-xtradb-cluster-on-all-nodes/5270>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [December 7, 2016, 4:33pm UTC](https://forums.percona.com/t/how-to-reset-percona-xtradb-cluster-on-all-nodes/5270 "2016-12-07T16:33:06Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![porunov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/porunov/32/1154_2.png) [@porunov](https://forums.percona.com/u/porunov)\
**Post date:** [December 12, 2016, 10:24am UTC](https://forums.percona.com/t/how-to-reset-percona-xtradb-cluster-on-all-nodes/5270/9 "2016-12-12T10:24:29Z")

</div>

Thank you for your help!

I had looked in ‘/usr/lib/systemd/system/mysql.service’ and found an interesting thing at the bottom:

# Unsafe for PXC

# mysqld\_safe handles this too.

Restart=always

I don’t know why it is enabled in PXC installation if it is unsafe but I commented it:  
#Restart=always

After that I rebooted my machines. nothing changed, yes. But now I can easily kill my mysql process if something happens and start it again! So, now I don’t need to restart machines at all. If something happens (stuck in ‘activating’ state) I can stop/kill mysql and start it again!

Sincerely,  
Alexandr

---

_[View the full topic](https://forums.percona.com/t/how-to-reset-percona-xtradb-cluster-on-all-nodes/5270)._
