Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/62.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
未在数据节点上复制MySQL群集表_Mysql_Sql_Mysql Cluster - Fatal编程技术网

未在数据节点上复制MySQL群集表

未在数据节点上复制MySQL群集表,mysql,sql,mysql-cluster,Mysql,Sql,Mysql Cluster,我使用指南创建了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-

我使用指南创建了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
创建了数据库。但是,无法在数据节点上查看数据库


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

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