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的启动用户需要对这个文件有写权限。

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?