【问题标题】:SqlNode is not connected in MySQL NDB ClusterSqlNode 在 MySQL NDB Cluster 中未连接
【发布时间】:2020-05-02 02:13:39
【问题描述】:

我正在尝试在 mysql 集群中连接我的 sql 节点、管理节点和 1 个数据节点,但是当我在管理节点中尝试 ndb_mgm 时,将显示此输出

Cluster Configuration
    ---------------------
    [ndbd(NDB)]     2 node(s)
    id=2     @10.0.40.105    (mysql-5.5.25 ndb-7.2.7, Nodegroup: 0, Master)

    [ndb_mgmd(MGM)] 1 node(s)
    id=1     @10.0.40.119    (mysql-5.5.25 ndb-7.2.7)

    [mysqld(API)]   2 node(s)
    id=3 (not connected, accepting connect from any host)

mysqld 未连接但正在接受来自主机的连接

我的 config.ini 和 my.cnf 文件是正确的 我认为端口号有问题 任何帮助表示赞赏。

【问题讨论】:

    标签: mysql sql-server centos centos7 mysql-cluster


    【解决方案1】:

    您使用的是最新版本 8.0.19。我的也有同样的问题。

    数据节点没问题。但是不知怎么的sql节点连接不上……

    我在 CentOS 8 上使用最新版本的 8.0.19 捆绑包..

    【讨论】:

    • 无法解决问题。
    • 检查日志并在 my.cnf 文件中包含 pid 文件位置,它将解决错误
    猜你喜欢
    • 2022-08-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-31
    • 2019-09-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多