sort浅忆 2018-11-01 07:58 采纳率: 0%
浏览 676

windows下部署mysql集群,sql节点连接不上?

C:\Users\Administrator>c:\mysql\bin\mysqld.exe --ndbcluster --ndb-connectstring=
172.22.41.111 --console
2018-11-01T07:49:22.719053Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is
deprecated. Please use --explicit_defaults_for_timestamp server option (see doc
umentation for more details).
2018-11-01T07:49:22.719053Z 0 [Note] --secure-file-priv is set to NULL. Operatio
ns related to importing and exporting data are disabled
2018-11-01T07:49:22.720053Z 0 [Note] c:\mysql\bin\mysqld.exe (mysqld 5.7.23-ndb-
7.6.7-cluster-gpl) starting as process 19948 ...
2018-11-01T07:49:22.731054Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows in
terlocked functions
2018-11-01T07:49:22.732054Z 0 [Note] InnoDB: Uses event mutexes
2018-11-01T07:49:22.733054Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are u
sed for memory barrier
2018-11-01T07:49:22.733054Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-11-01T07:49:22.733054Z 0 [Note] InnoDB: Number of pools: 1
2018-11-01T07:49:22.734054Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2018-11-01T07:49:22.739054Z 0 [Note] InnoDB: Initializing buffer pool, total siz
e = 128M, instances = 1, chunk size = 128M
2018-11-01T07:49:22.756055Z 0 [Note] InnoDB: Completed initialization of buffer
pool
2018-11-01T07:49:22.771056Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdat
a1' must be writable
2018-11-01T07:49:22.772056Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdat
a1' must be writable
2018-11-01T07:49:22.773056Z 0 [ERROR] InnoDB: Plugin initialization aborted with
error Generic error
2018-11-01T07:49:23.073073Z 0 [ERROR] Plugin 'InnoDB' init function returned err
or.
2018-11-01T07:49:23.073073Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE
ENGINE failed.
2018-11-01T07:49:23.073073Z 0 [ERROR] Failed to initialize builtin plugins.
2018-11-01T07:49:23.074073Z 0 [ERROR] Aborting

2018-11-01T07:49:23.074073Z 0 [Note] Binlog end
2018-11-01T07:49:23.075074Z 0 [Note] Shutting down plugin 'CSV'
2018-11-01T07:49:23.075074Z 0 [Note] c:\mysql\bin\mysqld.exe: Shutdown complete

C:\Users\Administrator>

  • 写回答

1条回答 默认 最新

  • X-i-n 2018-11-01 09:23
    关注

    和群集没关系,你的mysql单实例都起不来
    检查一下数据文件 c:\mysql\ibdata1 的权限,mysqld的启动用户需要对这个文件有写权限。

    评论

报告相同问题?

悬赏问题

  • ¥15 矩阵加法的规则是两个矩阵中对应位置的数的绝对值进行加和
  • ¥15 活动选择题。最多可以参加几个项目?
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
  • ¥15 vs2019中数据导出问题
  • ¥20 云服务Linux系统TCP-MSS值修改?
  • ¥20 关于#单片机#的问题:项目:使用模拟iic与ov2640通讯环境:F407问题:读取的ID号总是0xff,自己调了调发现在读从机数据时,SDA线上并未有信号变化(语言-c语言)
  • ¥20 怎么在stm32门禁成品上增加查询记录功能
  • ¥15 Source insight编写代码后使用CCS5.2版本import之后,代码跳到注释行里面
  • ¥50 NT4.0系统 STOP:0X0000007B
  • ¥15 想问一下stata17中这段代码哪里有问题呀