[英]Can't stop percona xtradb cluster node
I have three Percona xtradb nodes running on ubuntu 12.04 computers. 我在ubuntu 12.04计算机上运行了三个Percona xtradb节点。 I want to stop one of the nodes, without disconnecting eth0.
我想停止其中一个节点,而不断开eth0。
I have tried: $ service mysql stop
and $ /etc/init.d/mysql stop
我试过:
$ service mysql stop
和$ /etc/init.d/mysql stop
Both commands say stopping...OK
. 这两个命令都说要
stopping...OK
。 But I can still connect to mysql on the node. 但我仍然可以在节点上连接到mysql。
How can I take a node out of the cluster temporarily? 如何暂时将节点从群集中取出?
I was having this problem on my Ubuntu 12.04 server, too. 我也在我的Ubuntu 12.04服务器上遇到了这个问题。
The only thing I could find to kill "mysqld" was this command: 我唯一能找到杀死“mysqld”的是这个命令:
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/ 资料来源: http : //www.itfromscratch.com/how-to-stop-the-percona-mysql-server/
您可以使用“mysqladmin shutdown”彻底关闭任何MySQL服务器(前提是您拥有适当的权限/凭据)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.