gpt4 book ai didi

mysql ndb_mgmd --no-nodeid-checks - 启动错误

转载 作者:搜寻专家 更新时间:2023-10-30 20:43:01 27 4
gpt4 key购买 nike

我在启动 ndb_mgmd 时遇到问题。这里有一些信息。

OS: Ubuntu 12.04LTS
MySQL -V: Ver 5.5.25a-ndb-7.2.7 for Linux on x86_64 (Source distribution)
Base Dir = /usr/local/mysql
Default MySQL Conf = /xconf/mysql/my.cnf
Default MySQL Data = /xdata/mysql

/xconf/mysql/my.cnf

[mysqld]
ndbcluster
socket=/xdata/mysql/mysql.sock

[mysqld_safe]
err-log=/xlog/mysqld.log
pid-file=/xdata/runtime/mysqld/mysqld.pid

[ndb_mgmd]
configdir=/xdata/mysql-cluster
config-file=/xdata/mysql-cluster/config.ini

/xdata/mysql-cluster/config.ini

[NDBD DEFAULT]
NoOfReplicas=2
DataDir=/xdata/mysql-cluster

# Management Node

[ndb_mgmd]
NodeId=1
HostName=192.168.2.100
DataDir=/xdata/mysql-cluster

# Storage Nodes

[ndbd]
NodeId=2
HostName=192.168.2.101

[ndbd]
NodeId=3
HostName=182.168.2.102

# SQL Nodes

[mysqld]
HostName=192.168.2.100

[mysqld]
HostName=192.168.2.101

[mysqld]
HostName=192.168.2.102

当我执行时:

@xuser:/xdata/mysql-cluster$ ndb_mgmd
MySQL Cluster Management Server mysql-5.5.25 ndb-7.2.7
[MgmtSrvr] ERROR -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid=<nodeid> on command line

关于为什么会发生这种情况有什么想法吗?

最佳答案

问题是我没有连接到集群的网络。

关于mysql ndb_mgmd --no-nodeid-checks - 启动错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11907969/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com