老师,我docker 容器 node1 一开启就失败

来源:4-2 创建MySQL集群

qq_HJL_2

2018-07-09

2018-07-09T11:01:50.834114Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

2018-07-09T11:01:50.834494Z 0 [Note] Salting uuid generator variables, current_pid: 1, server_start_time: 1531134110, bytes_sent: 0, 

2018-07-09T11:01:50.834748Z 0 [Note] Generated uuid: '7b4d8243-8367-11e8-81d1-0242ac120002', server_start_time: 281476507844767, bytes_sent: 39757200

2018-07-09T11:01:50.834774Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 7b4d8243-8367-11e8-81d1-0242ac120002.

mysqld: File './auto.cnf' not found (Errcode: 13 - Permission denied)

2018-07-09T11:01:50.834789Z 0 [ERROR] Failed to create file(file: './auto.cnf', errno 13)

2018-07-09T11:01:50.834791Z 0 [ERROR] Initialization of the server's UUID failed because it could not be read from the auto.cnf file. If this is a new server, the initialization failed because it was not possible to generate a new UUID.

2018-07-09T11:01:50.834793Z 0 [ERROR] Aborting


写回答

2回答

qq_HJL_2

提问者

2018-07-09

//img.mukewang.com/szimg/5b4358d10001689114110461.jpg

一直被这个错误卡着

0
0

神思者

2018-07-09

同学你好,你是第一次启动node1,还是第二次启动?

0
8
慕尼黑3917127
写错啦不好意思CLUSTER_JOIN
2018-07-14
共8条回复

Docker环境下的企业级前后端分离项目部署与运维

手把手带你学会项目分布式集群部署,让你的系统不再惧怕宕机

2458 学习 · 1017 问题

查看课程