按照'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  


相关文章:

  • 2021-09-11
  • 2021-09-11
  • 2021-09-29
  • 2021-04-13
  • 2022-02-10
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2021-04-16
  • 2021-09-11
  • 2021-11-03
  • 2021-06-06
  • 2022-12-23
  • 2021-08-18
  • 2021-09-11
相关资源
相似解决方案