# service mysql stop is being ignored.  How to fix?

**URL:** <https://forums.percona.com/t/service-mysql-stop-is-being-ignored-how-to-fix/6953>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [April 8, 2019, 10:03am UTC](https://forums.percona.com/t/service-mysql-stop-is-being-ignored-how-to-fix/6953 "2019-04-08T10:03:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwarble](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mwarble](https://forums.percona.com/u/mwarble)\
**Post date:** [April 8, 2019, 10:03am UTC](https://forums.percona.com/t/service-mysql-stop-is-being-ignored-how-to-fix/6953/1 "2019-04-08T10:03:32Z")

</div>

I’m running cluster 5.7 with MySQL 5.7 on Debian 9 and issuing a “service mysql stop” doesn’t seem to do anything. If I issue “service mysql restart” it does seem to shutdown mysql gracefully and restart it. However, stop, does nothing. This is a problem because rebooting the node without stopping mysql first gracefully forces crash recovery on startup which takes quite a while and is unnecessary. Is there a fix or workaround for this problem?

---

<div class="post-metadata">

**Author:** ![alibel](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alibel](https://forums.percona.com/u/alibel)\
**Post date:** [April 15, 2019, 3:22pm UTC](https://forums.percona.com/t/service-mysql-stop-is-being-ignored-how-to-fix/6953/2 "2019-04-15T15:22:43Z")

</div>

Try

```auto
mysqladmin -u root -p shutdown

```

I have a similar problem on a cluster of three nodes.

Do you have a new cluster installation with an empty database or was the database imported from another server?

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [April 16, 2019, 9:41pm UTC](https://forums.percona.com/t/service-mysql-stop-is-being-ignored-how-to-fix/6953/3 "2019-04-16T21:41:38Z")

</div>

Hi. In general it depends on the way you have started mysql process.  
If you have started mysql as

> [@](#):
>
> service mysql start

then

> [@](#):
>
> service mysql stop

should help you to stop it.  
In case you have started

> [@](#):
>
> /etc/init.d/mysql bootstrap-pxc

So in this case you should stop bootstrapped node using

> [@](#):
>
> /etc/init.d/mysql bootstrap-stop
