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个回答

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!