2 个数据节点现在正在运行。但是,SqlNode 不会启动。
配置文件
[ndbd]
hostname=192.168.177.132
datadir=/usr/local/mysql/data
[ndbd]
hostname=192.168.177.133
datadir=/usr/local/mysql/data
[mysqld]
hostname=192.168.177.131
我的.cnf
[mysqld]
ndbcluster
ndb-connectstring=192.168.177.134
basedir=/usr/local/mysql
[mysql_cluster]
ndb-connectstring=192.168.177.134
我收到这个错误...
[ndbd] INFO -- Angel connected to '192.168.177.134:1186'
[ndbd] ERROR -- Failed to allocate nodeid, error: 'Error: Could not alloc node id at 192.168.177.134 port 1186: Connection done from wrong host ip 192.168.177.131.'