IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    MySQL Cluster【ndb】,error:Could not parse name-value pair in config file.

    Adamhuan发表于 2017-02-21 07:48:48
    love 0

    具体报错如下所示:

    [root@mysql-manager ~]# ndb_mgmd -f /var/lib/mysql-cluster/config.ini --initial
    MySQL Cluster Management Server mysql-5.7.17 ndb-7.5.5
    2017-02-21 15:44:19 [MgmtSrvr] ERROR    -- at line 3: Parse error
    2017-02-21 15:44:19 [MgmtSrvr] ERROR    -- at line 3: Could not parse name-value pair in config file.
    2017-02-21 15:44:19 [MgmtSrvr] ERROR    -- Could not load configuration from '/var/lib/mysql-cluster/config.ini'
    2017-02-21 15:44:19 [MgmtSrvr] ERROR    -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid= on command line
    [root@mysql-manager ~]#

    如果出现这个错误,注意检查上面显示【at line 3: Parse error】的配置文件的位置,是否包含空格。
    如果配置文件包含额外的空格,就会出现语法解析的错误,出现上面的异常。
    ————————————————
    Done。



沪ICP备19023445号-2号
友情链接