Ad Widget

Collapse

Error message "MySQL server is not available. Waiting 5 seconds" fresh docker install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • still_at_work
    Junior Member
    • Jul 2023
    • 9

    #1

    Error message "MySQL server is not available. Waiting 5 seconds" fresh docker install

    Hi,

    I'm new with Zabbix

    I'm trying to replace my old PRTG with a new instance of Zabbix. I made installation with this documentation : 5 Installation from containers (zabbix.com)​ but I have an error...

    When I launch this command :
    Code:
    docker compose -f ./docker-compose_v3_alpine_mysql_latest.yaml up
    It stuck on :
    Code:
    zabbix-docker-zabbix-server-1           | **** MySQL server is not available. Waiting 5 seconds...
    zabbix-docker-zabbix-web-nginx-mysql-1  | **** MySQL server is not available. Waiting 5 seconds...
    zabbix-docker-zabbix-server-1           | **** MySQL server is not available. Waiting 5 seconds...
    zabbix-docker-zabbix-web-nginx-mysql-1  | **** MySQL server is not available. Waiting 5 seconds...
    zabbix-docker-zabbix-server-1           | **** MySQL server is not available. Waiting 5 seconds...
    zabbix-docker-zabbix-web-nginx-mysql-1  | **** MySQL server is not available. Waiting 5 seconds...​
    I also try with alpine+pgsql, same result...

    What is wrong ? I searched on forum, but no luck for the moment...

    Thank you for your help !
  • still_at_work
    Junior Member
    • Jul 2023
    • 9

    #2
    Hi, some new after few days...

    I found that firewalld blocked traffic between dockers...

    I uninstalled firewalld, installed ufw, reboot and all is OK now !

    Comment

    Working...