mysql cluster mysql 节点无法关闭_【求助】mysql cluster无法停掉mysql服务

建好了mysql cluster,管理节点、datanode节点和mysql都启动了,但是管理节点不识别mysql

ndb_mgm> show

Cluster Configuration

---------------------

[ndbd(NDB)]     2 node(s)

id=2 (not connected, accepting connect from 192.168.100.212)

id=3 (not connected, accepting connect from 192.168.100.213)

[ndb_mgmd(MGM)] 1 node(s)

id=1    @192.168.100.214  (mysql-5.6.17 ndb-7.3.5)

[mysqld(API)]   2 node(s)

id=4 (not connected, accepting connect from 192.168.100.212)

id=5 (not connected, accepting connect from 192.168.100.212)

尝试停止mysql服务,却停不掉

#service mysql stop

Shutting down MySQL....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

mysql日志为:

2014-11-03 11:19:30 7862 [Note] Giving 1 client threads a chance to die gracefully

2014-11-03 11:19:30 7862 [Note] Event Scheduler: Purging the queue. 0 events

2014-11-03 11:19:30 7862 [Note] Shutting down slave threads

2014-11-03 11:19:31 7862 [Note] NDB Binlog: Server shutdown detected while waiting for ndbcluster to start...

2014-11-03 11:19:31 7862 [Note] Stopping Cluster Binlog

2014-11-03 11:19:32 7862 [Note] Forcefully disconnecting 0 remaining clients

2014-11-03 11:19:32 7862 [Note] Binlog end

2014-11-03 11:19:32 7862 [Note] Stopping Cluster Utility thread

2014-11-03 11:19:32 7862 [Note] Stopping Cluster Index Stats thread

日志停在这里不动了。

mysql的my.cnf文件配置为:

#provide connectstring for management server host (default port: 1186)

[ndbd]

connect-string=192.168.100.214:1186

#provide connectstring for management server host (default port: 1186)

[ndb_mgm]

connect-string=192.168.100.214:1186

麻烦大侠们给看看怎么回事

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值