mysql cluster配置参数更新
时间:2011-06-07 来源:番茄侠
按照'Get MySQL Cluster Running-Linux'上的步骤,进行到如下步骤时:
[cuser1@localhost my_cluster]$ /home/cuser1/mysqlc/bin/ndb_mgmd -f conf/config.ini --initial --configdir=/home/cuser1/my_cluster/conf/MySQL Cluster Management Server mysql-5.1.56 ndb-7.1.13
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 4: [MGM] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 12: [DB] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 16: [DB] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 19: [API] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 4: [MGM] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 12: [DB] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 16: [DB] id is deprecated, use NodeId instead
2011-06-07 15:25:37 [MgmtSrvr] WARNING -- at line 19: [API] id is deprecated, use NodeId instead
按提示所说,应该是config.ini文件中的key name 不合适当前版本了。将'id'更换成'NodeId'
[ndb_mgmd]hostname=localhost
datadir=/home/cuser1/my_cluster/ndb_data
NodeId=1
[ndbd default]
noofreplicas=2
datadir=/home/cuser1/my_cluster/ndb_data
[ndbd]
hostname=localhost
NodeId=3
[ndbd]
hostname=localhost
NodeId=4
[mysqld]
NodeId=50
相关阅读 更多 +