2個數據節點現在正在運行。 Hoever,SqlNode不會啓動。MySQL簇 - SQL節點無法啓動 - 無法分配nodeid
的config.ini
[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
的my.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.'
你能找出原因嗎?我有完全相同的問題... – anu 2015-09-09 06:00:37