Two containers have been showed to restart state
Two error log content is the same
(ORM) register db Ping ` default `, Error 1130: the Host '172.18.0.6' is not allowed to connect to this MySQL server
[FATAL] [main. Go: 92] : failed to initialize the database: register db Ping ` default `, Error 1130: the Host '172.18.0.6' is not allowed to connect to this MySQL server
CodePudding user response:
Database is up to you
CodePudding user response:
reference 1st floor mouse_zhu response: do you have the database up Docker to compose the ps command to see beyond the state of the other two containers are up CodePudding user response:
The firewall problem? I do not have this problem here CodePudding user response:
reference mouse_zhu reply: 3/f firewall issue? I do not have this problem here Harbor - db docker - entrypoint. Sh mysqld Up 3306/TCP I see the status of so Then I how can't see inside the virtual machine 3306 port, it's strange CodePudding user response:
reference mouse_zhu reply: 3/f firewall issue? I do not have this problem here Firewalls and selinux is closed, the iptables is emptied CodePudding user response:
That probably is a firewall problem Systemctl stop firewalld Systemctl stop iptables The iptables -f Netstat - nal | grep, 3306 CodePudding user response:
refer to 6th floor mouse_zhu response: that probably is a firewall problem Systemctl stop firewalld Systemctl stop iptables The iptables -f Netstat - nal | grep 3306 No, mysqld container according to the up state but no port 3306, I couldn't even/var/run/mysqld/mysqld. Also can not find the sock file CodePudding user response:
There is only one possible, although container status is up but the inside of the container mysql service didn't really start up, what version is your harbor, suggest you use harbor - 1.6.0 this no problem, I use a database using redis CodePudding user response:
refer to the eighth floor mouse_zhu response: that there is only one possible, although the state of the container is up but the inside of the container mysql service didn't really start up, what version is your harbor, suggest you use harbor - 1.6.0 this no problem, I use a database using redis refer to the eighth floor mouse_zhu response: that there is only one possible, although the state of the container is up but the inside of the container mysql service didn't really start up, what version is your harbor, suggest you use harbor - 1.6.0 this no problem, I use a database using redis Can you send me 1.6 bag? CodePudding user response:
Ok, I uploaded to CSDN my resources, and then you go to the download CodePudding user response:
The reference can send 1.6 bag for me? Uploading resources need to audit, you go to download on the lot CodePudding user response:
https://download.csdn.net/download/mouse_zhu/12051196 CodePudding user response:
The refer to 12 floor mouse_zhu reply: https://download.csdn.net/download/mouse_zhu/12051196 I changed a node deployment is successful, may be running too many times the sh scripts CodePudding user response:
Reference I changed a node deployment is successful, may be running too many times the sh scripts for Well congratulations