【问题标题】:MySQL cluster table is not being replicated on data nodesMySQL 集群表未在数据节点上复制
【发布时间】:2017-05-08 22:04:23
【问题描述】:

我使用this指南创建了MySQL集群:

从管理节点:

ndb_mgm
show

输出:

Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=2    @10.0.2.5  (mysql-5.6.31 ndb-7.4.12, Nodegroup: 0, *)
id=3    @10.0.2.6  (mysql-5.6.31 ndb-7.4.12, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.2.4  (mysql-5.6.31 ndb-7.4.12)

[mysqld(API)]   2 node(s)
id=4    @10.0.2.7  (mysql-5.6.31 ndb-7.4.12)
id=5    @10.0.2.6  (mysql-5.6.31 ndb-7.4.12)

我已经从10.0.2.7 创建了数据库。但是,在数据节点上看不到数据库。

如果您需要更多信息,请告诉我。

【问题讨论】:

    标签: mysql sql mysql-cluster


    【解决方案1】:

    数据库不会显示在数据节点上。创建数据库 在 10.0.2.7(MySQL 服务器)上,它也会出现在 10.0.2.6(MySQL 服务器)。存储实际数据库 在数据节点上,但只能从 MySQL 服务器中看到。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-11-16
      • 1970-01-01
      • 1970-01-01
      • 2013-04-24
      • 2021-05-21
      • 1970-01-01
      • 1970-01-01
      • 2017-03-25
      相关资源
      最近更新 更多