简体   繁体   中英

Can't stop percona xtradb cluster node

I have three Percona xtradb nodes running on ubuntu 12.04 computers. I want to stop one of the nodes, without disconnecting eth0.

I have tried: $ service mysql stop and $ /etc/init.d/mysql stop

Both commands say stopping...OK . But I can still connect to mysql on the node.

How can I take a node out of the cluster temporarily?

I was having this problem on my Ubuntu 12.04 server, too.

The only thing I could find to kill "mysqld" was this command:

sudo stop mysql

Pretty simple, I know. But it worked for me. Hopefully this will sort you out too.

Source: http://www.itfromscratch.com/how-to-stop-the-percona-mysql-server/

您可以使用“mysqladmin shutdown”彻底关闭任何MySQL服务器(前提是您拥有适当的权限/凭据)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM